The Daily Click ::. Forums ::. Klik Coding Help ::. Pause Menu?
 

Post Reply  Post Oekaki 
 

Posted By Message

PkGamer



Registered
  07/05/2013 19:46:26
Points
  42
16th May, 2013 at 16/05/2013 20:59:38 -

Hi,

I cant really figure out how to make a pause menu. I want the game to pause with all objects and actives on stop while it is pause and then unstop them.I have no idea if The Games Factory 2 comes with something that can help me make the pause menu.I could use some help making a pause menu since one way or another.



 
PkGamer-Current Project:Space Explrer 3000 Goals:Random World Generator,Deffense Oriented Combat, Loads of Upgrades, 8 bit graphics(since Im good at only pixel art), Simply Music.
<br />

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
17th May, 2013 at 17/05/2013 03:44:57 -

This could require a pretty long answer.

But I think the simplest solution would be a Subapp! Basically make a whole different frame for the menu. Then load it into the main game as a sub application using the sub application object. You would need to handle the actual pausing the game part yourself depending on what objects you've used. But placing all your events into a big group and disabling it should work if you have a custom engine.

https://dl.dropboxusercontent.com/u/50324676/pause.zip

There's a quick example i made just now ^

 
.

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
17th May, 2013 at 17/05/2013 18:16:45 -

If you're using a subapp, you can set it to "modal" and it will automatically pause everything else until the subapp is closed - no need to deactivate any groups.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click