TileSprite#centerX

centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2). Inherited From Phaser.Component.Bounds#centerX Source code: gameobjects/components/Bounds.js (Line 58)

Physics.Ninja#enableAABB()

enableAABB(object, children) This will create a Ninja Physics AABB body on the given game object. Its dimensions will match the width and height of the object at the point it is created.A game object can only have 1 physics body active at any one time, and it can't be changed until the object is destroyed. Parameters Name Type Argument Default Description object object | array | Phaser.Group The game object to create the physics body on. Can also be an array or Group of objects, a body

Touch#touchEnterCallback

touchEnterCallback : Function A callback that can be fired on a touchEnter event. Source code: input/Touch.js (Line 62)

Math#angleBetweenPointsY()

angleBetweenPointsY(point1, point2) → {number} Find the angle of a segment from (point1.x, point1.y) -> (point2.x, point2.y). Parameters Name Type Description point1 Phaser.Point point2 Phaser.Point Returns number - The angle, in radians. Source code: math/Math.js (Line 453)

TilemapLayer#deltaY

[readonly] deltaY : number Returns the delta y value. The difference between world.y now and in the previous frame. The value will be positive if the Game Object has moved down or negative if up. Inherited From Phaser.Component.Delta#deltaY Source code: gameobjects/components/Delta.js (Line 42)

Physics.Arcade.Body#friction

friction : Phaser.Point The amount of movement that will occur if another object 'rides' this one. Source code: physics/arcade/Body.js (Line 252)

Frame#resize()

resize(width, height) Adjusts of all the Frame properties based on the given width and height values. Parameters Name Type Description width integer The new width of the Frame. height integer The new height of the Frame. Source code: animation/Frame.js (Line 132)

LinkedList#callAll()

callAll(callback) Calls a function on all members of this list, using the member as the context for the callback.The function must exist on the member. Parameters Name Type Description callback function The function to call. Source code: utils/LinkedList.js (Line 156)

Math#distanceSq()

distanceSq(x1, y1, x2, y2) → {number} Returns the euclidean distance squared between the two given set ofcoordinates (cuts out a square root operation before returning). Parameters Name Type Description x1 number y1 number x2 number y2 number Returns number - The distance squared between the two sets of coordinates. Source code: math/Math.js (Line 989)

Cache#addText()

addText(key, url, data) Add a new text data. 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. url string The URL the asset was loaded from. If the asset was not loaded externally set to null. data object Extra text data. Source code: loader/Cache.js (Line 374)