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.

Code Snippets / Paused

Author
Message
Dumplin Boy
20
Years of Service
User Offline
Joined: 12th Oct 2004
Location: I fogot
Posted: 16th Oct 2004 21:15
A simple paused code for your game.


And here is a main menu. (not writen by me but you might like it).
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 16th Oct 2004 21:41
That's fine, but it gets a bit more complex if you have entities which rely on the timer for their motion/actions and want to pause the game - since you can't pause the timer. I wrote this a while ago to enable effective pausing of the timer:

http://forum.thegamecreators.com/?m=forum_view&t=37635&b=6


Dumplin Boy
20
Years of Service
User Offline
Joined: 12th Oct 2004
Location: I fogot
Posted: 16th Oct 2004 21:45
Ok. Thanks.
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 17th Oct 2004 23:51
Nice code thats goin in my game.

200GB HARD DRIVE 1GB RAM 256MB GRAPHICS CARD

Login to post a reply

Server time is: 2025-05-12 08:39:49
Your offset time is: 2025-05-12 08:39:49