Color.blendHardMix()

<static> blendHardMix(a, b) → {integer} Runs blendVividLight on the source and backdrop colors.If the resulting color is 128 or more, it receives a value of 255; if less than 128, a value of 0.Therefore, all blended pixels have red, green, and blue channel values of either 0 or 255.This changes all pixels to primary additive colors (red, green, or blue), white, or black. Parameters Name Type Description a integer The source color to blend, in the range 1 to 255. b integer The back

Physics.P2.Body#applyDamping()

applyDamping(dt) Apply damping, see http://code.google.com/p/bullet/issues/detail?id=74 for details. Parameters Name Type Description dt number Current time step. Source code: physics/p2/Body.js (Line 516)

Physics.Arcade.Body#tilePadding

tilePadding : Phaser.Point If this is an especially small or fast moving object then it can sometimes skip over tilemap collisions if it moves through a tile in a step.Set this padding value to add extra padding to its bounds. tilePadding.x applied to its width, y to its height. Extra padding to be added to this sprite's dimensions when checking for tile collision. Source code: physics/arcade/Body.js (Line 397)

TileSprite#update()

update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate and before postUpdate.Remember if this Game Object has any children you should call update on those too. Inherited From Phaser.Component.Core#update Source code: gameobjects/components/Core.js (Line 328)

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

ScaleManager#setResizeCallback()

setResizeCallback(callback, context) Sets the callback that will be invoked before sizing calculations. This is the appropriate place to call setUserScale if needing custom dynamic scaling. The callback is supplied with two arguments scale and parentBounds where scale is the ScaleManagerand parentBounds, a Phaser.Rectangle, is the size of the Parent element. This callback May be invoked even though the parent container or canvas sizes have not changed Unlike onSizeChange, it runs before the c

Rope#contains()

contains(child) → {Boolean} Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself. Parameters Name Type Description child DisplayObject - Returns Boolean - Inherited From PIXI.DisplayObjectContainer#contains Source code: pixi/display/DisplayObjectContainer.js (Line 449)

Pointer#backButton

backButton : Phaser.DeviceButton If this Pointer is a Mouse or Pen / Stylus then you can access its X1 (back) button directly through this property. The DeviceButton has its own properties such as isDown, duration and methods like justReleased for more fine-grainedbutton control. Please see the DeviceButton docs for details on browser button limitations. Source code: input/Pointer.js (Line 120)

Color.RGBtoHSV()

<static> RGBtoHSV(r, g, b, out) → {object} Converts an RGB color value to HSV (hue, saturation and value).Conversion forumla from http://en.wikipedia.org/wiki/HSL_color_space.Assumes RGB values are contained in the set [0, 255] and returns h, s and v in the set [0, 1].Based on code by Michael Jackson (https://github.com/mjijackson) Parameters Name Type Argument Description r number The red color component, in the range 0 - 255. g number The green color component, in the range

BitmapText#inWorld

[readonly] inWorld : boolean Checks if the Game Objects bounds are within, or intersect at any point with the Game World bounds. Inherited From Phaser.Component.InWorld#inWorld Source code: gameobjects/components/InWorld.js (Line 129)