3 Replies Latest reply on Nov 10, 2012 12:02 PM by Ned Murphy

    ActionScript 2 Platformer Next Level

    CJ C

      I'm trying to make a platform game with a second level, and it isn't working right. I have it so when I click a button, it goes to the next level. Everything is okay, except the player's position stays the same when he goes to the second level. I have this code:


      on (release) { _root.gotoAndStop("plains1"); _root.player._x = 434.65; _root.player._y = 159.35; }


      The player doesn't teleport to the positions I set in the code. Can someone tell me what's wrong? Thanks in advance!