Return to scene without resetting it.

naydi306naydi306 Member Posts: 18
edited September 2013 in Tech Support
Hi Everyone,
I need some help. I am designing a kids game were the reward for passing a level is removing an obstacle from a different scene(b). My challenge is that whenever I go back to that scene(b) it is reset to it original starting point. How can I return to the scene without having it start at the beginning?


  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,914
    Use a pause and select that scene then in the scene that plays after it's done unpause.
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,577
    edited September 2013

    Hi @naydi001

    Also, for an indication whether or not your obstacles are removed, make boolean attributes. And importantly, make them game attributes, so they will be "remembered" when going back to a previous scene.

    Then roughly: in all your obstacles, put - (here's an example for one)-

    rule: When game.Obstacle01 is false
    Change self.Color.Alpha to 1
    Change self.Color.Alpha to 0

    and only be able to interact with the obstacle if its Alpha is 1.

    There's a couple more ways to do this as well, but the above is as good as any, depending on how the obstacles are removed, or moved in the scene.

    You might want to learn from the Cookbook about using Load and Save Behaviours too, so these changes are "remembered" after the game is closed then opened again.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain

Sign In or Register to comment.