Phaser API Documentation

  Version: 
step(time, delta)

Description:

Internal method, called automatically by the game step. Monitors the elapsed time and resize interval to see if a parent bounds check needs to take place.

Parameters:

name type description
time number

The time value from the most recent Game step. Typically a high-resolution timer value, or Date.now().

delta number

The delta value since the last frame. This is smoothed to avoid delta spikes by the TimeStep class.

Since: 3.16.0