Phaser API Documentation

  Version: 
explode([count], [x], [y])

Description:

Puts the emitter in explode mode (frequency = -1), stopping any current particle flow, and emits several particles all at once.

Parameters:

name type arguments Default description
count number <optional> this.quantity

The number of Particles to emit.

x number <optional> this.x

The x coordinate to emit the Particles from.

y number <optional> this.x

The y coordinate to emit the Particles from.

Returns:
Description:

The most recently emitted Particle.