It totally depends on your game. Basically, you would have a variable that is 1 if the menu is open, 0 if it's not, and if it's 1, disable game playing features until it's 0, and if it's 1, show the menu, and if the menu is closed, set it to 0, and if it's opened, set it to 1.
Offline
you will need a menu sprite with scripts like
when I receive [openmenu v] show go to... broadcast [stuff v] when I receive [closemenu] hidethe option sprites all have
when I receive [stuff v]//or (openmenu) show go to... when I receive [closemenu v] hidea opener has
when [opener] clicked broadcast [openmenu v]a closer has same but broadcasts closemenu
Offline
Have a look at this.
Last edited by Prestige (2012-07-18 15:45:52)
Offline
Or, simply put, you could use a variable called "Scene" or whatever, and set it to 0, and when you wish to engage and begin the scene, make a button act as a trigger to set "Scene" to 1. Upon the variable being changed, a new menu, or the game itself, may arise, depending on how you program it.
- iNK
Offline