Implementing timers\timed game events - n00b question:)

Started by
4 comments, last by needto 20 years, 6 months ago
So i have some ship flying, and i want it to turn, say, each 3 seconds. I think i need to create some timer class, but should i rewrite it for every action in the game? This has something to do with inheritance maybe... Can someone explain it to me and\or point me to some article\tutorial on that? Thanks
Advertisement
what API are you using?
Look into DWORD GetTickCount()
"Let me just ejaculate some ideas"
This site may be of help:
Timing Article

Tadd
- WarbleWare
Tadd- WarbleWare
Here's my game timing links (from home):
MVPs Game Timing Articles (index containing the one I put above)
Freeze Software's Frame Rate Limiters and FPS Counters
Game programming under Windows using CDX

EDIT: missing some quotes

Tadd
- WarbleWare

[edited by - reana1 on October 7, 2003 9:38:30 PM]
Tadd- WarbleWare
Well, i know how to use getTickCount, and how to achieve frame rate independent movement, and how to create an FPS counter, but i am not sure if i understand the use of timers for game events... so an object goes here, stands for 5 secs and goes there...

This topic is closed to new replies.

Advertisement