Phaser API Documentation

  Version: 
update(delta, step, processors)

Description:

The main update method for this Particle.

Updates its life values, computes the velocity and repositions the Particle.

Parameters:

name type description
delta number

The delta time in ms.

step number

The delta value divided by 1000.

processors array

An optional array of update processors.

Returns:
Description:

Returns true if this Particle has now expired and should be removed, otherwise false if still active.

Type:
  • boolean
Since: 3.0.0