fps_max

Limits the frame rate to the given value (default 240 fps). Limiting the frame rate will reduce the processor load and can be used to work around script bugs causing speed differences and other effects on extremely high frame rates.

Range:

10 .. 400 (default: 240) , or 0 for no limit.

Type:

var

Remarks:

Example:

fps_max = 40; // limit the frame rate at 40 fps 

See also:

time_step, time_factor, fps_min, fps_lock, total_ticks, total_frames, wait, frame rate

► latest version online