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.

Newcomers DBPro Corner / Restarting and pausing the game

Author
Message
sobamade
14
Years of Service
User Offline
Joined: 15th Jun 2010
Location:
Posted: 15th Jun 2010 17:45
Hi, beginner at DarkBasic Pro here, used a 3D maze as part of my developing computer game assignment and I need to implement a pause and restart button into my game.

Unsure how to do this, any help would be appreciated
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 15th Jun 2010 21:01


Something like that maybe?

Rawwrr. Sig Fail.
Newcastle is awesome
AJAtom
15
Years of Service
User Offline
Joined: 25th Feb 2009
Location:
Posted: 15th Jun 2010 21:03 Edited at: 15th Jun 2010 21:05


....that's the most straightforward idea I can think of at this time

I need a new Avatar
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 15th Jun 2010 21:43
You need to make a list of variables that need to be restarted when the button is pressed.Like your maze object`s position, variable that hold time passed since the begining and stuff like that.You need to be sure you didn`t missed something, then you can make your restart button and add functionality to it.

Where there is a will, there is a way.
I often edit my posts, that`s who i am

Login to post a reply

Server time is: 2024-11-24 14:59:16
Your offset time is: 2024-11-24 14:59:16