Original Post
Hi,
Controlling the amount of frames updated per second is very important in my games. I have had a system that works like this:
The framecount is stored in an integer, and increased every frame. I calculate how many frames *should* be done, so the amount of frames to update is TotalFrames - FrameCount.
Problem is this always is 1 or more. So if a user is running 80hz and my FPS is locked at 60, it looks ugly!
I want to put a floating based system in, or something similar. But I have fears I won''t be able to re-create some of my math related code.
Things like this:
speed = speed * .96;
any thoughts or theory would be awesome, thanks in advance ya''ll!