Phaser API Documentation

  Version: 
start(callback, forceSetTimeOut, delay)

Description:

Starts the requestAnimationFrame or setTimeout process running.

Parameters:

name type description
callback FrameRequestCallback

The callback to invoke each step.

forceSetTimeOut boolean

Should it use SetTimeout, even if RAF is available?

delay number

The setTimeout delay rate in ms.

Since: 3.0.0