Reset button from menu
evert
Member Posts: 266
Hi everyone!
I made a little game scene and another scene with my menu (score, reset and a little text).
When my actor dies, it shows the other scene with the menu.
The problem however is when i press the reset button it won't work. I think because its based in another scene and pop's up when my actor dies.
I created a reset button from the GameSaladCookbook youtube tutorial that works fine in my scene (the game scene)
But it needs to reset with the button which is located in the "game over" scene that pops up.
Thanks
e.m.
I made a little game scene and another scene with my menu (score, reset and a little text).
When my actor dies, it shows the other scene with the menu.
The problem however is when i press the reset button it won't work. I think because its based in another scene and pop's up when my actor dies.
I created a reset button from the GameSaladCookbook youtube tutorial that works fine in my scene (the game scene)
But it needs to reset with the button which is located in the "game over" scene that pops up.
Thanks
e.m.
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909
Comments
What happens when you manually change to the menu scene and click the reset button? Does it work as expected?
What happens when you place a Log Debugging Statement in the reset button actor on the menu scene and then click it when it pops up? If you have the Debugger window open do you see anything listed there?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
EDIT: I think the problem is that the reset works but only for the scene where the button is. Since the button is in another scene it won't reset my game scene.
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909