World#divideAll()

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

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)

Sound#onMute

onMute : Phaser.Signal The onMute event is dispatched when this sound is muted. Source code: sound/Sound.js (Line 250)

Physics.Ninja.Body#touching

touching : Object This object is populated with boolean values when the Body collides with another.touching.up = true means the collision happened to the top of this Body for example. An object containing touching results. Source code: physics/ninja/Body.js (Line 132)

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

Ellipse#contains()

contains(x, y) → {boolean} Return true if the given x/y coordinates are within this Ellipse object. Parameters Name Type Description x number The X value of the coordinate to test. y number The Y value of the coordinate to test. Returns boolean - True if the coordinates are within this ellipse, otherwise false. Source code: geom/Ellipse.js (Line 138)

Line#bottom

[readonly] bottom : number Gets the bottom-most point of this line. Source code: geom/Line.js (Line 476)

Cache#removeCanvas()

removeCanvas(key) Removes a canvas from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1641)

FlexLayer#subAll()

subAll(property, amount, checkAlive, checkVisible) Subtracts the amount from the given property on all children in this group. Group.subAll('x', 10) will minus 10 from the child.x value for each child. Parameters Name Type Description property string The property to decrement, for example 'body.velocity.x' or 'angle'. amount number The amount to subtract from the property. If child.x = 50 then subAll('x', 40) would make child.x = 10. checkAlive boolean If true the property will only be