Need help Using the Reset Behavior in a pause paused scene

GAMEINTERNGAMEINTERN PRO Posts: 56
edited April 2012 in Working with GS (Mac)
Hello all,

I need help understand how to use the reset SCENE Behavior.

I have created a menu button
so during game play a user can touch it and it brings up a pause scene
showing options to: Turn off sound, Go to home menu, Un-pause and Reset Current Level.

So...When I connect the behavior to the reset button it reset the Pause scene.

Any help on this matter would be great.

Thanks!

Best Answer

  • tenrdrmertenrdrmer Posts: 9,934
    Accepted Answer
    If you want to do a reset from a pause scene try using Change scene instead and change it back to the scene you were in.

    Or you could have your reset button change a boolean to true then unpause and have a controller actor in your scene set to run the reset scene behavior when game.reset is true

Answers

  • GAMEINTERNGAMEINTERN PRO Posts: 56
    Okay I see, so I tried the first method you spoke of and it works fine. I had to create new attributes also so that I could reset the score and other elements.

    Than You
Sign In or Register to comment.