Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / pausing the game

Author
Message
robster
15
Years of Service
User Offline
Joined: 15th Dec 2008
Location:
Posted: 21st Feb 2010 18:25
hi does anybody have any idea on how to pause the game, e.g. for a sub menu or somthin??

www.robsterone.webs.com

my website
Manga Tiger Boy
15
Years of Service
User Offline
Joined: 24th Aug 2009
Location:
Posted: 22nd Feb 2010 23:06 Edited at: 22nd Feb 2010 23:07
I'd do it something like this:



If you do this, all of the code for the levels has to be put in the "{ }"s of the argument "if (pause == 0)", so that if "pause" is equal to 1, everything in the level will just freeze in place.

Hope that helps!

Join the dark side. We have cookies!

Login to post a reply

Server time is: 2024-10-05 16:19:06
Your offset time is: 2024-10-05 16:19:06