-
Pause menu
Ive been trying to make a pause menu but i have no idea how.I already now how to simply pause the application but i want something better than that.
Im trying to make it so once the player presses a certain key or clicks somewhere the game pauses and shows options such as continue playing and quit.
Any help would be appreciated.
-
Re: Pause menu
OK be sure to only use "if object overlaps object" from now on instead of "if object collides with object" because if the player pauses at the same time an object collides with another object and you didn't use overlapping then the collision won't work. There are multiple ways to pull this off. The easiest would be to set every pausing object to a certain qualifier. Next put all the events you want to pause in a group called "Pauses" or whatever. When the player pauses the game, stop the animation of all the qualified objects and disable the "Pauses" group.
This is the easy way to do it, I do it the hard way by reserving a flag for everything that is paused and putting in every condition I want to pause if the flag is turned off.
-
Re: Pause menu
Marv has several examples of pausing on his example site. Link is in my sig. :)
-
Re: Pause menu
StephenL
Not sure who marv is or what you mean by the link is in my sig. Any help appreciated.
Steve
-
Re: Pause menu
Marv is the awesome guy who has provide a site for all the great examples that people have made here from the forums (and more).
If you need an example of how to do something then his site is the place to go!
the link in his sig. is below his name
this one > Nirvam's Examples
-
Re: Pause menu
Thanks for the info. I've gone to "marv's" site but cannot find any of the examples on 24 pages (pretty impressive) that are labeled as an example to "pause." Could someone tell me which one to look at for the pause example or examples.
Thanks,
Steve
-
Re: Pause menu
-
Re: Pause menu
Thanks again. I have had detached retinas in my eyes and I have difficulty picking out embedded words and words from a list.
Steve
-
Re: Pause menu
The example uses a sub application, but I assume you could use the dialogue box in MMF2 pro set to modal to accomplish the same pause effect. Sometimes the difficult things are simple.
Steve
-
Re: Pause menu
And FYI... Nivram --> Marvin (backwards). :P
-
Re: Pause menu
Isn't there also a way to do this by adding new layers to the frame?