Change Scene Glitch
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!!
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
-
gyroscope I am here.Posts: 6,598
@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
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
Thanks for answering!