Stage#visibilityChange()

visibilityChange(event) This method is called when the document visibility is changed. Parameters Name Type Description event Event Its type will be used to decide whether the game should be paused or not. Source code: core/Stage.js (Line 281)

Color.getGreen()

<static> getGreen(color) → {number} Given a native color value (in the format 0xAARRGGBB) this will return the Green component, as a value between 0 and 255. Parameters Name Type Description color number In the format 0xAARRGGBB. Returns number - The Green component of the color, will be between 0 and 255 (0 being no color, 255 full Green). Source code: utils/Color.js (Line 966)

Math#max()

max() → {number} Variation of Math.max that can be passed either an array of numbers or the numbers as parameters. Prefer the standard Math.max function when appropriate. Returns number - The largest value from those given. Source code: math/Math.js (Line 635) See http://jsperf.com/math-s-min-max-vs-homemade

Physics.Arcade.Body#collideWorldBounds

collideWorldBounds : boolean A Body can be set to collide against the World bounds automatically and rebound back into the World if this is set to true. Otherwise it will leave the World. Should the Body collide with the World bounds? Source code: physics/arcade/Body.js (Line 361)

Touch#onTouchCancel()

onTouchCancel(event) Touch cancel - touches that were disrupted (perhaps by moving into a plugin or browser chrome).Occurs for example on iOS when you put down 4 fingers and the app selector UI appears. Parameters Name Type Description event TouchEvent The native event from the browser. This gets stored in Touch.event. Source code: input/Touch.js (Line 293)

TileSprite#game

game : Phaser.Game A reference to the currently running Game. Inherited From Phaser.Component.Core#game Source code: gameobjects/components/Core.js (Line 142)

AudioSprite#AudioSprite

new AudioSprite(game, key) Audio Sprites are a combination of audio files and a JSON configuration.The JSON follows the format of that created by https://github.com/tonistiigi/audiosprite Parameters Name Type Description game Phaser.Game Reference to the current game instance. key string Asset key for the sound. Source code: sound/AudioSprite.js (Line 17)

Particle#tintedTexture

tintedTexture :Canvas A canvas that contains the tinted version of the Sprite (in Canvas mode, WebGL doesn't populate this) Inherited From PIXI.Sprite#tintedTexture Default Value null Source code: pixi/display/Sprite.js (Line 73)

Group#getAll()

getAll(property, value, startIndex, endIndex) → {any} Returns all children in this Group. You can optionally specify a matching criteria using the property and value arguments. For example: getAll('exists', true) would return only children that have their exists property set. 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. Pa

Tween#interpolation()

interpolation(interpolation, context, index) → {Phaser.Tween} Sets the interpolation function the tween will use. By default it uses Phaser.Math.linearInterpolation.Also available: Phaser.Math.bezierInterpolation and Phaser.Math.catmullRomInterpolation.The interpolation function is only used if the target properties is an array.If you have child tweens and pass -1 as the index value and it will set the interpolation function across all of them. Parameters Name Type Argument Default Descripti