Search found 2 matches

by Nilxoc
Wed Aug 31, 2016 9:38 pm
Forum: Support and Development
Topic: Limit framerate to exactly 60
Replies: 12
Views: 18863

Re: Limit framerate to exactly 60

Thanks, I tried zorg's suggestion and it got me as close as I will probably get. The tick rate now fluctuates around sixty by a maximum of 0.1 above or below.I appreciate your answers.
by Nilxoc
Wed Aug 31, 2016 6:22 pm
Forum: Support and Development
Topic: Limit framerate to exactly 60
Replies: 12
Views: 18863

Limit framerate to exactly 60

I'm developing a Fighting Game, meaning I actually need it to run at exactly 60 Frames per second.My problem is that if I try to achieve that using love.timer.sleep(1/60-frame_time) I get 62 FPS instead of 60,presumably due to rounding errors? Obviously VSync limits FPS to 60 on most monitors but th...