Question on pausing
alexander144
Member Posts: 93
In my pause scene I want to have a button that will take the user back to the menu, will that work or will it overlap the older scenes?
Comments
Don't know if that will work but you can try to add a rule with :
----When touch pressed (on your menu button)
-- unpause
-Timer, after 0.1sec, run to completion
-- change scene to xxxxx
Let me know...
One way round it is to have a boolean variable that changes value when you return from a pause scene. So you could go to pause and return ok.
However, if you're on the pause screen and want to go to the main menu, you'd press the main menu button, which unpauses and returns to the previous scene. Then you'd have a rule that changes the boolean and upon going back to the previous scene, automatically sends you to the main menu.
Hope that made sense - not slept at all!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io