Stage#Stage

new Stage(game) The Stage controls root level display objects upon which everything is displayed.It also handles browser visibility handling and the pausing due to loss of focus. Parameters Name Type Description game Phaser.Game Game reference to the currently running game. Source code: core/Stage.js (Line 16)

Group#removeBetween()

removeBetween(startIndex, endIndex, destroy, silent) Removes all children from this group whose index falls beteen the given startIndex and endIndex values. Parameters Name Type Argument Default Description startIndex integer The index to start removing children from. endIndex integer <optional> The index to stop removing children at. Must be higher than startIndex. If undefined this method will remove all children between startIndex and the end of the group. destroy boolea

Particles.Arcade.Emitter#width

width : number Gets or sets the width of the Emitter. This is the region in which a particle can be emitted. Source code: particles/arcade/Emitter.js (Line 887)

Video#onError

onError : Phaser.Signal This signal is dispatched if an error occurs either getting permission to use the webcam (for a Video Stream) or when trying to play back a video file. Source code: gameobjects/Video.js (Line 106)

Physics.P2.BodyDebug#forEachDead()

forEachDead(callback, callbackContext, args) Call a function on each dead child in this group. See forEach for details. Parameters Name Type Argument Default Description callback function The function that will be called for each applicable child. The child will be passed as the first argument. callbackContext object The context in which the function should be called (usually 'this'). args any <optional> <repeatable> (none) Additional arguments to pass to the cal

FlexLayer#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

Physics.P2.BodyDebug#setChildIndex()

setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters Name Type Description child DisplayObject The child DisplayObject instance for which you want to change the index number index Number The resulting index number for the child display object Inherited From PIXI.DisplayObjectContainer#setChildIndex Source code: pixi/display/DisplayObjectContainer.js (Line 132)

Cache#addBinary()

addBinary(key, binaryData) Add a binary object in to the cache. Parameters Name Type Description key string The key that this asset will be stored in the cache under. This should be unique within this cache. binaryData object The binary object to be added to the cache. Source code: loader/Cache.js (Line 424)

ScaleManager#isFullScreen

[readonly] isFullScreen : boolean Returns true if the browser is in fullscreen mode, otherwise false. Source code: core/ScaleManager.js (Line 2315)

Easing.Exponential#InOut()

InOut(k) → {number} Exponential ease-in/out. Parameters Name Type Description k number The value to be tweened. Returns number - The tweened value. Source code: tween/Easing.js (Line 321)