Improve Frame Skip (Turbo Bug) #287

Ghabry opened this Issue Jul 1, 2014 · 2 comments


None yet

3 participants

Ghabry commented Jul 1, 2014

When the FPS drop below 60 the player character movement is not smooth anymore but "jumps"


Here is the Lazy Foo's Frame Independent Movement tutorial:

@fdelapena fdelapena added this to the 0.3 milestone Mar 18, 2015
@Ghabry Ghabry was assigned by fdelapena Mar 26, 2015
@Ghabry Ghabry added a commit that closed this issue Mar 26, 2015
@Ghabry Ghabry Improve frame skipping code. Fixes #287
The new code takes into account that the non-graphic updates take some time, too and only when there is time in the current frame left the graphic is rendered. The game logic always runs at 60 updates per sec.
@Ghabry Ghabry closed this in 0cc8e7d Mar 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment