Jump to content
  • Advertisement

Archived

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

timer question in simple program?

This topic is 5949 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

hi, i just start to read my book about openGL, i am planning to do a little game of tank in 2d(really basic one). I am just wondering how can i acces the time? is there a specific function that allow me to get the time in milliseconds since the begining of my program? thanks alot siddim Edited by - Siddim on February 5, 2002 4:44:41 PM

Share this post


Link to post
Share on other sites
Advertisement
check out sdl -> SDL_GetTicks()
also for win32 u can use GetTickCount()

http://uk.geocities.com/sloppyturds/gotterdammerung.html

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!