CF_DELTA_TIME_FIXED¶
Category: time
GitHub: cute_time.h
The time elapsed between two frames in fixed-timestep mode.
Remarks¶
To turn on fixed-timestep use cf_set_fixed_timestep. Fixed timestep is useful when games need determinism. Determinism means given the same inputs, the exact same outputs are produced. This is especially important for networked games, or games that require extreme precision and fine-tuning (such as certain fighting games or platformers).
Related Pages¶
CF_DELTA_TIME
cf_update_time
CF_OnUpdateFn
CF_DELTA_TIME_INTERPOLANT
cf_set_fixed_timestep
cf_set_fixed_timestep_max_updates