Reset scene button in pause screen doesn't work.

GraybayGraybay Member Posts: 114
edited December 2011 in Working with GS (Mac)
How do you get the reset scene behavior to work when the game is paused? It seems as though it is linked to the "pause scene" rather than the actual gameplay scene. I can't find info about this anywhere. Thanks!

Comments

  • GraybayGraybay Member Posts: 114
    Are you required to use a change scene to reset the level?
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    You will have to un-pause or change scene.

    Ace
  • GraybayGraybay Member Posts: 114
    Thanks Ace.
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    No problem, GS uses the pause menu as a separate scene and treats it that way.

    Ace
  • GraybayGraybay Member Posts: 114
    I think I will be trying to come up with another solution, since I want an instant reset, not a complete reload of the scene.
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    edited December 2011
    Just have an attribute called reset and in your pause set reset to true and unpause. In the actors you want to reset, say when reset is true [add reset x and y's, attributes, etc then set reset to false]

    Ace
  • gurechangurechan Member, PRO Posts: 211
    Watch this tutorial by TShirtBooth:
  • GraybayGraybay Member Posts: 114
    Thanks gurechan, this instant reset video is exactly what I am doing. I just can't get it to work with the built in pause function. I will mess around a little more with your solution Ace.
  • GraybayGraybay Member Posts: 114
    edited December 2011
    I got it working using a simplified version of CatGoneCrazy's solution found here: http://forums.gamesalad.com/discussion/30165/reset-scene-button-in-pause-menu

    Basically what you were saying Ace. Thanks again!
Sign In or Register to comment.