All timers now use a single _mainTimer, which updates at most once every millisecond (but usually around once every 60th of a second). Both animationBatch and scene are now updated one after the other because of this.
All refresh delay timers now rely on _mainTimer and a new RefreshDelayTimer helper class. This tracks time passed, and raises an elapsed event if NeedsRefresh is true.
The animation progress bar now uses a refresh delay timer to avoid updating too often.
Animation and scene timers now use real time deltas instead of fixed deltas (with a cap of 10 frames out of 60FPS). This can be disabled by setting _fixedTimer to true.
Animation Progress bar now has a precision of 200 units per frame. Meaning its now possible to interpolate between 1-frame animations.
Added FPS tracking logic, however this is not displayed anywhere yet.
_mainTimer
, which updates at most once every millisecond (but usually around once every 60th of a second). Both animationBatch and scene are now updated one after the other because of this._mainTimer
and a new RefreshDelayTimer helper class. This tracks time passed, and raises an elapsed event if NeedsRefresh is true._fixedTimer
to true.