Phaser.Particles is the Particle Manager for the game. It is called during the game update loop and in turn updates any Emitters attached to it.
Name | Type | Description |
---|---|---|
game | Phaser.Game | A reference to the currently running game. |
Internal emitters store.
A reference to the currently running Game.
-
Adds a new Particle Emitter to the Particle Manager.
Name | Type | Description |
---|---|---|
emitter | Phaser.Emitter | The emitter to be added to the particle manager. |
The emitter that was added.
Removes an existing Particle Emitter from the Particle Manager.
Name | Type | Description |
---|---|---|
emitter | Phaser.Emitter | The emitter to remove. |
Called by the core game loop. Updates all Emitters who have their exists value set to true.
© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/Phaser.Particles.html