If this flag is set, the time_step variable is locked to fps_max, regardless of the real frame duration. All functions using time_step - i.e. all speeds - will then become frame rate dependent.


on - time_step depends only on fps_max
off - time_step depends on the real frame rate.



Example (lite-C):

function main() 
  fps_max = 60; 
#ifdef TEST	// use this for test purposes only!
  fps_lock = on; // time_step is now always 16/60 = 0.266 ticks 
#endif ...

See also:

time_step, time_factor, fps_max, fps_min, total_ticks, total_frames, wait ► latest version online