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 / DBP-Timers?

Author
Message
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 31st Jul 2006 18:19
OK i have NO idea how timers work...i need this:

You shoot one enemy,you have to wait a random time from 1 to 10 seconds till the next enemy appears.

AND i need something that the game continues and the enemy's wait a second to do something.

Con someone help?

B-DA FIRE!
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 31st Jul 2006 18:27
Try this tutorial. It may be a little over the top for your needs, but you'll get the idea...

http://www.thegamecreators.com/data/newsletter/newsletter_issue_31.html#9



Crit
18
Years of Service
User Offline
Joined: 24th May 2006
Location:
Posted: 31st Jul 2006 18:41
Here's some pseudocode to point you in the right direction:


CHESS ENCOUNTER
Demo
WIP
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 31st Jul 2006 18:49
Crit,as soon as i know what the hell i have to fill in with the [] sentences ill use it...

can you please give me a discription?

(Enemy object is 2)

B-DA FIRE!
Tyler
20
Years of Service
User Offline
Joined: 10th Jan 2004
Location:
Posted: 1st Aug 2006 05:58
wow, that issue is extremely helpful, i did a quick search for timers and this is exactly what i needed

www.xoscy.com

Login to post a reply

Server time is: 2024-11-26 14:50:37
Your offset time is: 2024-11-26 14:50:37