Reset game and pause scene problem
I have 2 scenes. Scene 1 is where the main game is played. Scene 2 displays the instructions. I have a button in Scene 1 that when mouse down pauses the game and displays Scene 2 over Scene 1. A button in Scene 2 unpauses the game and returns to the game in progress in Scene 1. This works great!
But at the end of the game in Scene 1, I display a Play Again button that when the user clicks on Resets the game. For some reason, when this Play Again button is clicked, Scene 2 is displayed and just stops. Clicking on the button doesn't return the game back to Scene 1. Any ideas on what is going wrong?
But at the end of the game in Scene 1, I display a Play Again button that when the user clicks on Resets the game. For some reason, when this Play Again button is clicked, Scene 2 is displayed and just stops. Clicking on the button doesn't return the game back to Scene 1. Any ideas on what is going wrong?
Comments
Its working exactly as you have coded it.
You need to have use when touch is pressed for buttons.