name | type | arguments | Default | description |
---|---|---|---|---|
min | number | <optional> | 5 |
The minimum acceptable rendering rate, in frames per second. |
target | number | <optional> | 60 |
The optimum rendering rate, in frames per second. This does not enforce the fps rate, it merely tells Phaser what rate is considered optimal for this game. |
limit | number | <optional> | 0 |
Enforces an fps rate limit that the game step will run at, regardless of browser frequency. 0 means 'no limit'. Never set this higher than RAF can handle. |
forceSetTimeOut | boolean | <optional> | false |
Use setTimeout instead of requestAnimationFrame to run the game loop. |
deltaHistory | number | <optional> | 10 |
Calculate the average frame delta from this many consecutive frame intervals. |
panicMax | number | <optional> | 120 |
The amount of frames the time step counts before we trust the delta values again. |
smoothStep | boolean | <optional> | true |
Apply delta smoothing during the game update to help avoid spikes? |