Phaser API Documentation

  Version: 
start([advance], [duration])

Description:

Turns Phaser.GameObjects.Particles.ParticleEmitter#on the emitter and resets the flow counter.

If this emitter is in flow mode (frequency >= 0; the default), the particle flow will start (or restart).

If this emitter is in explode mode (frequency = -1), nothing will happen. Use Phaser.GameObjects.Particles.ParticleEmitter#explode or Phaser.GameObjects.Particles.ParticleEmitter#flow instead.

Calling this method will emit the START event.

Parameters:

name type arguments description
advance number <optional>

Advance this number of ms in time through the emitter.

duration number <optional>

Limit this emitter to only emit particles for the given number of ms. Setting this parameter will override any duration already set in the Emitter configuration object.

Returns:
Description:

This Particle Emitter.