RobertWHurst/Red-Locomotive

System should use miliseconds instead of frames for clocks.

RobertWHurst opened this issue · 1 comments

Currently the engines clocks are based on the passage of frames. This is unreliable on slow devices and makes audio syncing impossible. The whole engine must be converted to use milliseconds instead of frames.

Frames will still be used, but a new very accurate frame-skip system has been added. Clocks and timers should now correspond with the expected fps regardless of actual frame rate.