World#set()

set(child, key, value, checkAlive, checkVisible, operation, force) → {boolean} Quickly set a property on a single child of this group to a new value. The operation parameter controls how the new value is assigned to the property, from simple replacement to addition and multiplication. Parameters Name Type Argument Default Description child Phaser.Sprite The child to set the property on. key string The property, as a string, to be set. For example: 'body.velocity.x' value any

AnimationParser.JSONData()

<static> JSONData(game, json) → {Phaser.FrameData} Parse the JSON data and extract the animation frame data from it. Parameters Name Type Description game Phaser.Game A reference to the currently running game. json object The JSON data from the Texture Atlas. Must be in Array format. Returns Phaser.FrameData - A FrameData object containing the parsed frames. Source code: animation/AnimationParser.js (Line 93)

Physics.P2.BodyDebug#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

AnimationParser.JSONDataHash()

<static> JSONDataHash(game, json) → {Phaser.FrameData} Parse the JSON data and extract the animation frame data from it. Parameters Name Type Description game Phaser.Game A reference to the currently running game. json object The JSON data from the Texture Atlas. Must be in JSON Hash format. Returns Phaser.FrameData - A FrameData object containing the parsed frames. Source code: animation/AnimationParser.js (Line 204)

Graphics#fixedToCamera

fixedToCamera : boolean A Game Object that is "fixed" to the camera uses its x/y coordinates as offsets from the top left of the camera during rendering. The values are adjusted at the rendering stage, overriding the Game Objects actual world position. The end result is that the Game Object will appear to be 'fixed' to the camera, regardless of where in the game worldthe camera is viewing. This is useful if for example this Game Object is a UI item that you wish to be visible at all timesrega

AnimationParser.JSONDataPyxel()

<static> JSONDataPyxel(game, json) → {Phaser.FrameData} Parse the JSON data and extract the animation frame data from it. Parameters Name Type Description game Phaser.Game A reference to the currently running game. json object The JSON data from the Texture Atlas. Must be in Pyxel JSON format. Returns Phaser.FrameData - A FrameData object containing the parsed frames. Source code: animation/AnimationParser.js (Line 147)

Image#moveDown()

moveDown() → {PIXI.DisplayObject} Moves this Game Object down one place in its parents display list.This call has no effect if the Game Object is already at the bottom of the display list. If this Game Object hasn't been added to a custom Group then this method will move it one object down within the Game World,because the World is the root Group from which all Game Objects descend. Returns PIXI.DisplayObject - This instance. Inherited From Phaser.Component.BringToTop#moveDown Source

World#moveDown()

moveDown(child) → {any} Moves the given child down one place in this group unless it's already at the bottom. Parameters Name Type Description child any The child to move down in the group. Returns any - The child that was moved. Inherited From Phaser.Group#moveDown Source code: core/Group.js (Line 969)

DisplayObjectContainer#children

[readonly] children : Array.<DisplayObject> [read-only] The array of children of this container. Type Array.<DisplayObject> Source code: pixi/display/DisplayObjectContainer.js (Line 17)

World#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)