Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

needto

Implementing timers\timed game events - n00b question:)

This topic is 5518 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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...

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!