Phaser API Documentation

  Version: 
panicMax: number

Description:

The number of frames that the cooldown is set to after the browser panics over the FPS rate, usually as a result of switching tabs and regaining focus.

This can be changed in the Game Config via the fps.panicMax property. The default is 120.

Type:
number
Default: 120
Since: 3.0.0
Source: src/core/TimeStep.js (Line 308)