ModusCreateOrg / creative-engine

Modus Create's portable Game Engine. Runs on the LDK Game console, desktop macOS and Linux
https://labs.moduscreate.com/creative-engine
MIT License
18 stars 8 forks source link

672 Fix frame rate speed up #271

Closed Aaron-Goldman closed 4 years ago

Aaron-Goldman commented 4 years ago

Fixes behavior where display would refresh at the maximum rate if the internal frame timer gets desynchronized from the system clock for any reason, like resources being hogged by another application, a single particularly resource-intensive frame like loading a level, or pausing the execution in a debugger. Timing is now relative to the previous frame only instead of calculated from the first frame.

close https://github.com/ModusCreateOrg/modite-adventure/issues/672