Physics.Arcade.Body#deltaY()

deltaY() → {number} Returns the delta y value. The difference between Body.y now and in the previous step. Returns number - The delta value. Positive if the motion was downwards, negative if upwards. Source code: physics/arcade/Body.js (Line 1281)

DeviceButton#justReleased()

justReleased(duration) → {boolean} Returns the "just released" state of this button.Just released is considered as being true if the button was released within the duration given (default 250ms). Parameters Name Type Argument Default Description duration number <optional> 250 The duration in ms below which the button is considered as being just released. Returns boolean - True if the button is just released otherwise false. Source code: input/DeviceButton.js (Line 244)

Loader#atlas()

atlas(key, textureURL, atlasURL, atlasData, format) → {Phaser.Loader} Adds a Texture Atlas file to the current load queue. To create the Texture Atlas you can use tools such as: Texture PackerShoebox If using Texture Packer we recommend you enable "Trim sprite names".If your atlas software has an option to "rotate" the resulting frames, you must disable it. You can choose to either load the data externally, by providing a URL to a json file.Or you can pass in a JSON object or String via the a

InputHandler#checkBoundsRect()

checkBoundsRect() Bounds Rect check for the sprite drag Source code: input/InputHandler.js (Line 1654)

TileSprite#maxHealth

maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensurethe health value never exceeds the maximum. Inherited From Phaser.Component.Health#maxHealth Default Value 100 Source code: gameobjects/components/Health.js (Line 35)

Particle#children

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

Point#add()

add(x, y) → {Phaser.Point} Adds the given x and y values to this Point. Parameters Name Type Description x number The value to add to Point.x. y number The value to add to Point.y. Returns Phaser.Point - This Point object. Useful for chaining method calls. Source code: geom/Point.js (Line 106)

Physics.P2.BodyDebug#xy()

xy(index, x, y) Positions the child found at the given index within this group to the given x and y coordinates. Parameters Name Type Description index integer The index of the child in the group to set the position of. x number The new x position of the child. y number The new y position of the child. Inherited From Phaser.Group#xy Source code: core/Group.js (Line 993)

DisplayObjectContainer#getBounds()

getBounds(targetCoordinateSpace) → {Rectangle} Retrieves the global bounds of the displayObjectContainer as a rectangle. The bounds calculation takes all visible children into consideration. Parameters Name Type Argument Description targetCoordinateSpace PIXIDisplayObject | PIXIMatrix <optional> Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object. Returns Rectangle - The rectangular bounding area

Tilemap#getTileAbove()

getTileAbove(layer, x, y) Gets the tile above the tile coordinates given.Mostly used as an internal function by calculateFaces. Parameters Name Type Description layer number The local layer index to get the tile from. Can be determined by Tilemap.getLayer(). x number The x coordinate to get the tile from. In tiles, not pixels. y number The y coordinate to get the tile from. In tiles, not pixels. Source code: tilemap/Tilemap.js (Line 1143)