Particles.Arcade.Emitter#add()

add(child, silent, index) → {DisplayObject} Adds an existing object as the top child in this group. The child is automatically added to the top of the group, and is displayed above every previous child. Or if the optional index is specified, the child is added at the location specified by the index value,this allows you to control child ordering. If the child was already in this Group, it is simply returned, and nothing else happens to it. If Group.enableBody is set, then a physics body will

Particles.Arcade#Arcade

new Arcade() Arcade Particles is a Particle System integrated with Arcade Physics. Source code: particles/arcade/ArcadeParticles.js (Line 12)

Particles#remove()

remove(emitter) Removes an existing Particle Emitter from the Particle Manager. Parameters Name Type Description emitter Phaser.Emitter The emitter to remove. Source code: particles/Particles.js (Line 50)

Particles#Particles

new Particles(game) 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. Parameters Name Type Description game Phaser.Game A reference to the currently running game. Source code: particles/Particles.js (Line 14)

Particles#ID

ID : number - Source code: particles/Particles.js (Line 30)

Particles#game

game : Phaser.Game A reference to the currently running Game. Source code: particles/Particles.js (Line 19)

Particles#emitters

emitters : Object Internal emitters store. Source code: particles/Particles.js (Line 24)

Particles#add()

add(emitter) → {Phaser.Emitter} Adds a new Particle Emitter to the Particle Manager. Parameters Name Type Description emitter Phaser.Emitter The emitter to be added to the particle manager. Returns Phaser.Emitter - The emitter that was added. Source code: particles/Particles.js (Line 36)

Particle#z

[readonly] z : number The z depth of this Game Object within its parent Group.No two objects in a Group can have the same z value.This value is adjusted automatically whenever the Group hierarchy changes.If you wish to re-order the layering of a Game Object then see methods like Group.moveUp or Group.bringToTop. Inherited From Phaser.Component.Core#z Source code: gameobjects/components/Core.js (Line 177)

Particle#y

y : number The position of the Game Object on the y axis relative to the local coordinates of the parent. Inherited From Phaser.Component.PhysicsBody#y Source code: gameobjects/components/PhysicsBody.js (Line 124)