start(explode, lifespan, frequency, quantity, forceQuantity) → {Phaser.Particles.Arcade.Emitter}
Call this function to start emitting particles.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
explode | boolean | <optional> | true | Whether the particles should all burst out at once (true) or at the frequency given (false). |
lifespan | number | <optional> | 0 | How long each particle lives once emitted in ms. 0 = forever. |
frequency | number | <optional> | 250 | Ignored if Explode is set to true. Frequency is how often to emit 1 particle. Value given in ms. |
quantity | number | <optional> | 0 | How many particles to launch. 0 = "all of the particles" which will keep emitting until Emitter.maxParticles is reached. |
forceQuantity | number | <optional> | false | If |
Returns
This Emitter instance.
- Source code: particles/arcade/Emitter.js (Line 503)
Please login to continue.