Jump to content
  • Advertisement

Archived

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

Shadwdrak

Bad timers...

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

I have an engine of sorts that runs pretty well. When I added a timer it all went down hill, I know that timers are supposed to slow everything down but it was choppy and un-usable. I was using the Windows Message timer for the timing is this the problem? Can A timer with bad resolution cause choppy game play? -Shadwdrak

Share this post


Link to post
Share on other sites
Advertisement
Im guessing ur using the timer to control the pace of ur game (refresh rate etc.). I believe the message timer has an accuracy of bout 5 ms. This could cause ur game to look choppy. Id try queryperformancecounter() or timegettime(). Both these function r accurate enough for what u r going to use em for.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!