Tag Archive: resampling


Perfectly Accurate Game Timing

Illustration of the tick variance shown by a timer using Bresenham's Line Algorithm
These days, I designed a timing system for my game. Doesn’t really sound impressive, eh? The problem with accurate timing, apart from hardware faults making timers change speed or jump back, is to resample a high-frequency clock running at 3+ MHz to the update rate your game is running with. The naive approach would be …

Continue reading »

Social Widgets powered by AB-WebLog.com.