For some unknown reason, the frame rate for my 2D game fluctuates. How do I get rid of the fluctuation to keep it constant? This fluctuation causes jerkiness in the action, sometimes a single frame is skipped (as if processed twice in one frame), at other times, there is no update for a single frame causing a sudden pause.
I have fps_max at 65.6 and fps_min at 65.4, which, strangely enough, averages 62 frames per second. Take out the fps_max and it's past 100 so it's not that that's the cause. I just want it to render exactly 60 frames per second like classic games do (like Sonic - which has an extremely constant frame rate, only going slow when too many objects are on screen) to give a constant smooth motion.
I'm using 6.31.4 Commercial, if that helps.