Preserve Scenes - Reset Game Issue?
JCFord
Member Posts: 785
I have a GS project when I have
Scene 1 - Splash screen
Scene 2 - Main menu
Scene 3 - Game level One
Scene 4 - Game level Two
Scene 5 - Game level Three etc
So the first time the user plays the game it goes through the splash screen and then onto the main menu. When the user starts to play the game, I have PRESERVE SCENE ON so the player can flick back and forth though game levels 1, 2 and 3 killing the enemies in the levels as the go.
Now the problem is when the player dies I really want the player to go back to the main menu so they can play again, but it I use GO TO SCENE (MAIN MENU) when the user starts to play AGAIN for the second time because the PRESERVE SCENES was on the scenes are like they were left and have NOT reset!
However if I use a RESET GAME action when the player dies, then the game goes right back to SCENE 1 which does reset all the scenes but displays the splash screen AGAIN, which is not what I want.
Although there is a RESET SCENE command I cannot seem use it as it only appears to be relevant to the scene it is in?
So the question is how can I preserve all my scenes, but when the user dies, reset all the scenes and then jump to the MAIN MENU skipping the SPLASH screen?
Scene 1 - Splash screen
Scene 2 - Main menu
Scene 3 - Game level One
Scene 4 - Game level Two
Scene 5 - Game level Three etc
So the first time the user plays the game it goes through the splash screen and then onto the main menu. When the user starts to play the game, I have PRESERVE SCENE ON so the player can flick back and forth though game levels 1, 2 and 3 killing the enemies in the levels as the go.
Now the problem is when the player dies I really want the player to go back to the main menu so they can play again, but it I use GO TO SCENE (MAIN MENU) when the user starts to play AGAIN for the second time because the PRESERVE SCENES was on the scenes are like they were left and have NOT reset!
However if I use a RESET GAME action when the player dies, then the game goes right back to SCENE 1 which does reset all the scenes but displays the splash screen AGAIN, which is not what I want.
Although there is a RESET SCENE command I cannot seem use it as it only appears to be relevant to the scene it is in?
So the question is how can I preserve all my scenes, but when the user dies, reset all the scenes and then jump to the MAIN MENU skipping the SPLASH screen?
Comments
In theory, that would work. Let me know if it's a viable solution.