Phaser API Documentation

  Version: 
preUpdate(time, delta)

Description:

Updates all active emitters.

Parameters:

name type description
time number

The current timestamp as generated by the Request Animation Frame or SetTimeout.

delta number

The delta time, in ms, elapsed since the last frame.

Examples: