Change Scene Glitch

carlblanchetcarlblanchet Member Posts: 755
edited July 2012 in Working with GS (Mac)
Hey!

So every time I press the restart button (which changes the scene to the gameplay scene and resets the needed attributes) from the game over scene (which appears with a pause game behaviour over the gameplay scene) the two scenes end up glitching and switching from one scene to another extremely fast over and over again... And the only way to stop the glitch is by restarting the Preview..
Does anyone know why this is happening?

Please & Thank you!!

Best Answer

  • gyroscopegyroscope I am here.Posts: 6,598
    edited July 2012 Accepted Answer

    @Hi carlblanchet

    Whatever the condition to change from one scene to the other hasn't been reset in the restart button; must be an attribute you've missed to reset somewhere...

    But maybe try a different route: in the rules in your restart button, don't worry about resetting any attributes, just go to the menu start scene. Then when your "go" or "play" button is pressed the scenes should all be reset anyway.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Answers

  • carlblanchetcarlblanchet Member Posts: 755
    @gyroscope

    Hmm, I'll investigate my code see if I missed something then. Unfortunately I don't want users to have to go through the menu system to return to the specific level every time they die :/ so I will have to play around with the two scenes to try and find a fix.

    Thanks for answering! :)
Sign In or Register to comment.