Color.toRGBA()

<static> toRGBA(r, g, b, a) → {number} A utility to convert RGBA components to a 32 bit integer in RRGGBBAA format. Parameters Name Type Description r number The red color component, in the range 0 - 255. g number The green color component, in the range 0 - 255. b number The blue color component, in the range 0 - 255. a number The alpha color component, in the range 0 - 255. Returns number - A RGBA-packed 32 bit integer Author: Matt DesLauriers (@mattdesl) Source cod

Physics.P2.BodyDebug#getRandom()

getRandom(startIndex, length) → {any} Returns a random child from the group. Parameters Name Type Argument Default Description startIndex integer <optional> 0 Offset from the front of the group (lowest child). length integer <optional> (to top) Restriction on the number of values you want to randomly select from. Returns any - A random child of this Group. Inherited From Phaser.Group#getRandom Source code: core/Group.js (Line 2350)

Physics.P2#game

game : Phaser.Game Local reference to game. Source code: physics/p2/World.js (Line 25)

Frame#trimmed

trimmed : boolean Was it trimmed when packed? Source code: animation/Frame.js (Line 82)

Device#fullscreen

fullscreen : boolean Does the browser support the Full Screen API? Source code: utils/Device.js (Line 506)

Physics.P2.BodyDebug#getFirstDead()

getFirstDead(createIfNull, x, y, key, frame) → {DisplayObject} Get the first child that is dead (child.alive === false). This is handy for checking if everything has been wiped out and adding to the pool as needed. You can use the optional argument createIfNull to create a new Game Object if no dead ones were found in this Group. It works by calling Group.create passing it the parameters given to this method, and returning the new child. If a child was found , createIfNull is false and you pr

Rope#segments

segments The segments that make up the rope body as an array of Phaser.Rectangles Properties: Name Type Description updateAnimation Array.<Phaser.Rectangles> Returns an array of Phaser.Rectangles that represent the segments of the given rope Source code: gameobjects/Rope.js (Line 175)

Pointer#button

button :any The button property of the most recent DOM event when this Pointer is started.You should not rely on this value for accurate button detection, instead use the Pointer propertiesleftButton, rightButton, middleButton and so on. Source code: input/Pointer.js (Line 70)

Video#isStreaming

isStreaming : boolean Is there a streaming video source? I.e. from a webcam. Source code: gameobjects/Video.js (Line 140)

Tile#faceTop

faceTop : boolean Is the top of this tile an interesting edge? Source code: tilemap/Tile.js (Line 99)