Archived

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

Controlling speed of application

This topic is 6273 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 some code that ensures that the speed of you application is a constant regardless of the framerate. I didn''t really look for a tutorial, so... If NeHe doesn''t already have one, I would be willing to clean it up and give some verbage about how this stuff works. Only problem is that my code uses an assembly routine that is only available on pentium chips, so it won''t work if you have a ''486... ;-) The nice thing is that you can use this timing routine as the basis for synchronizing your graphics with an mp3 file. This was a problem that I noticed with Rebirth. Depending on vsync, and other things it either ran way to fast or way too slow. It''s possible with some simple timing to ensure that certain events happen in sync with your music. And that''s cool... ;-) -- - Aaron

Share this post


Link to post
Share on other sites