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.

DarkBASIC Discussion / countdown

Author
Message
soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 6th Nov 2003 00:03
Is there any way I can put a timer in my game that starts at 60 and counts down in seconds until it = 0 thanks

"I SEE" said the blind man
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 6th Nov 2003 04:51
Use the Timer() command:



And just change the value of delay for different count-down values, eg, for a five second count-down, have delay = 5000.

Also to change the start amount of the count-down, change timeallowed to whatever you want...

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 6th Nov 2003 19:48
Thanks.

"I SEE" said the blind man

Login to post a reply

Server time is: 2025-05-21 09:43:30
Your offset time is: 2025-05-21 09:43:30