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 description
count number

The amount of Particles to emit.

x number

The x coordinate to emit the Particles from.

y number

The y coordinate to emit the Particles from.

Returns:
Description:

The most recently emitted Particle.