Phaser API Documentation


Member of: Phaser.Types.Core

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.

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?

Since: 3.0.0