explode(lifespan, quantity) → {Phaser.Particles.Arcade.Emitter}
Call this function to emit the given quantity of particles at all once (an explosion)
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
lifespan | number | <optional> | 0 | How long each particle lives once emitted in ms. 0 = forever. |
quantity | number | <optional> | 0 | How many particles to launch. |
Returns
This Emitter instance.
- Source code: particles/arcade/Emitter.js (Line 438)
Please login to continue.