In-game menu

jeffheif1jeffheif1 Member Posts: 10
edited November -1 in Working with GS (Mac)
So I already have a main menu that has "start game," "instructions," has my logo and displays a high score. My problem is that, once I start my game, there is no way to get to this menu. My game involves touching the screen, so I was thinking of putting a button in the corner for restarting
I was wondering how that button could be used to easily navigate back to the main menu, or back to the level which the player was on.

My two options were that the button could:
1. Spawn a menu on top of the level you are on. This would make a "restart button" change the scene to the main menu, but the "cancel" button would destroy the actor(the menu itself) that appeared. I just don't know if I can have an actor that can have multiple buttons on it. Another way to do this would spawn separate actors to certain coordinates on the screen, if that would work.

2. Go to a separate "restart menu" page. This would mean that a "restart button" would still change the scene to the main menu, but the "cancel" button would have to go back to the previous scene. The only problem is that the "previous scene" goes to the scene that comes before the current screen (in the order the scenes are placed), it is not from the level which the player originated.

My descriptions may have been confusing, but if anyone has any ideas of how I could make this "sub-menu" work or just another menu that would be more efficient, please let me know it's layout and what each button would do. That would be a huge help!

Thanks in advance!
jeffheif1
Sign In or Register to comment.