Particle#alive

alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components damage method should the object run out of health.Or you can toggle it via your game code. This property is mostly just provided to be used by your game - it doesn't effect rendering or logic updates.However you can use Group.getFirstAlive in conjunction with this property for fast object pooling and recycling. Inherited From Phaser.Component.LifeSpan#alive Defau

Particles.Arcade.Emitter#getRandomExists()

getRandomExists(startIndex, endIndex) → {any} Returns a random child from the Group that has exists set to true. Optionally you can specify a start and end index. For example if this Group had 100 children,and you set startIndex to 0 and endIndex to 50, it would return a random child from onlythe first 50 children in the Group. Parameters Name Type Argument Default Description startIndex integer <optional> 0 The first child index to start the search from. endIndex integer <o

Text#centerX

centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2). Inherited From Phaser.Component.Bounds#centerX Source code: gameobjects/components/Bounds.js (Line 58)

Text#events

events : Phaser.Events All Phaser Game Objects have an Events class which contains all of the events that are dispatched when certain things happen to thisGame Object, or any of its components. Inherited From Phaser.Component.Core#events Source code: gameobjects/components/Core.js (Line 185) See Phaser.Events

Graphics#getChildAt()

getChildAt(index) → {DisplayObject} Returns the child at the specified index Parameters Name Type Description index Number The index to get the child from Returns DisplayObject - The child at the given index, if any. Inherited From PIXI.DisplayObjectContainer#getChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 153)

Particles.Arcade.Emitter#revive()

revive() → {Phaser.Particles.Arcade.Emitter} Handy for bringing game objects "back to life". Just sets alive and exists back to true. Returns Phaser.Particles.Arcade.Emitter - This Emitter instance. Source code: particles/arcade/Emitter.js (Line 423)

World#addAll()

addAll(property, amount, checkAlive, checkVisible) Adds the amount to the given property on all children in this group. Group.addAll('x', 10) will add 10 to the child.x value for each child. Parameters Name Type Description property string The property to increment, for example 'body.velocity.x' or 'angle'. amount number The amount to increment the property by. If child.x = 10 then addAll('x', 40) would make child.x = 50. checkAlive boolean If true the property will only be changed if

Particle#offsetX

[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate.This is the same as width * anchor.x.It will only be > 0 if anchor.x is not equal to zero. Inherited From Phaser.Component.Bounds#offsetX Source code: gameobjects/components/Bounds.js (Line 24)

SinglePad#isUp()

isUp(buttonCode) → {boolean} Returns true if the button is not currently pressed. Parameters Name Type Description buttonCode number The buttonCode of the button to check. Returns boolean - True if the button is not currently pressed down. Source code: input/SinglePad.js (Line 468)

Physics.P2#beginContactHandler()

beginContactHandler(event) Handles a p2 begin contact event. Parameters Name Type Description event object The event data. Source code: physics/p2/World.js (Line 502)