Rectangle.intersection()

<static> intersection(a, b, output) → {Phaser.Rectangle} If the Rectangle object specified in the toIntersect parameter intersects with this Rectangle object, returns the area of intersection as a Rectangle object. If the Rectangles do not intersect, this method returns an empty Rectangle object with its properties set to 0. Parameters Name Type Argument Description a Phaser.Rectangle The first Rectangle object. b Phaser.Rectangle The second Rectangle object. output Phaser.Re

BitmapData.getTransform()

<static> getTransform(translateX, translateY, scaleX, scaleY, skewX, skewY) → {object} Gets a JavaScript object that has 6 properties set that are used by BitmapData in a transform. Parameters Name Type Description translateX number The x translate value. translateY number The y translate value. scaleX number The scale x value. scaleY number The scale y value. skewX number The skew x value. skewY number The skew y value. Returns object - A JavaScript object containin

Device#mspointer

mspointer : boolean Is mspointer available? Source code: utils/Device.js (Line 242)

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

Physics.Ninja.Body#deltaAbsY()

deltaAbsY() → {number} Returns the absolute delta y value. Returns number - The absolute delta value. Source code: physics/ninja/Body.js (Line 391)

Rope#updateCrop()

updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect property,or the rectangle it references, then you need to update the crop frame by calling this method. Inherited From Phaser.Component.Crop#updateCrop Source code: gameobjects/components/Crop.js (Line 86)

Button#reset()

reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object. This moves the Game Object to the given x/y world coordinates and sets fresh, exists,visible and renderable to true. If this Game Object has the LifeSpan component it will also set alive to true and health to the given value. If this Game Object has a Physics Body it will reset the Body. Parameters Name Type Argument Default Description x number The x coordinate (in world space) to position the Game Object at. y number

Graphics#lineColor

lineColor : string The color of any lines drawn. Default Value 0 Source code: pixi/primitives/Graphics.js (Line 34)

FlexLayer#remove()

remove(child, destroy, silent) → {boolean} Removes the given child from this group. This will dispatch an onRemovedFromGroup event from the child (if it has one), and optionally destroy the child. If the group cursor was referring to the removed child it is updated to refer to the next child. Parameters Name Type Argument Default Description child any The child to remove. destroy boolean <optional> false If true destroy will be invoked on the removed child. silent boolean

Rectangle#inflate()

inflate(dx, dy) → {Phaser.Rectangle} Increases the size of the Rectangle object by the specified amounts. The center point of the Rectangle object stays the same, and its size increases to the left and right by the dx value, and to the top and the bottom by the dy value. Parameters Name Type Description dx number The amount to be added to the left side of the Rectangle. dy number The amount to be added to the bottom side of the Rectangle. Returns Phaser.Rectangle - This Rectangle o