Color.hexToColor()

<static> hexToColor(hex, out) → {object} Converts a hex string into a Phaser Color object. The hex string can supplied as '#0033ff' or the short-hand format of '#03f'; it can begin with an optional "#" or "0x", or be unprefixed. An alpha channel is not supported. Parameters Name Type Argument Description hex string The color string in a hex format. out object <optional> An object into which 3 properties will be created or set: r, g and b. If not provided a new object wil

Color.toABGR()

<static> toABGR(r, g, b, a) → {number} Converts RGBA components to a 32 bit integer in AABBGGRR format. Parameters Name Type Description r number The red color component, in the range 0 - 255. g number The green color component, in the range 0 - 255. b number The blue color component, in the range 0 - 255. a number The alpha color component, in the range 0 - 255. Returns number - A RGBA-packed 32 bit integer Source code: utils/Color.js (Line 144)

Physics.P2.InversePointProxy#y

y : number The y property of this InversePointProxy get and set in pixels. Source code: physics/p2/InversePointProxy.js (Line 44)

Color.blendDifference()

<static> blendDifference(a, b) → {integer} Subtracts the darker of the two constituent colors from the lighter. Painting with white inverts the backdrop color; painting with black produces no change. Parameters Name Type Description a integer The source color to blend, in the range 1 to 255. b integer The backdrop color to blend, in the range 1 to 255. Returns integer - The blended color value, in the range 1 to 255. Source code: utils/Color.js (Line 1084)

Tilemap#getTileLeft()

getTileLeft(layer, x, y) Gets the tile to the left of 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 1183)

Math#roundTo()

roundTo(value, place, base) → {number} Round to some place comparative to a base, default is 10 for decimal place.The place is represented by the power applied to base to get that place. e.g. 2000/7 ~= 285.714285714285714285714 ~= (bin)100011101.1011011011011011 roundTo(2000/7,3) === 0 roundTo(2000/7,2) == 300 roundTo(2000/7,1) == 290 roundTo(2000/7,0) == 286 roundTo(2000/7,-1) == 285.7 roundTo(2000/7,-2) == 285.71 roundTo(2000/7,-3) == 285.714 roundTo(2000/7,-4) == 285.7143 roundTo(2000/7,-

ScaleManager#hasPhaserSetFullScreen

hasPhaserSetFullScreen : boolean This boolean provides you with a way to determine if the browser is in Full Screenmode (via the Full Screen API), and Phaser was the one responsible for activating it. It's possible that ScaleManager.isFullScreen returns true even if Phaser wasn't theone that made the browser go full-screen, so this flag lets you determine that. Source code: core/ScaleManager.js (Line 233)

Pointer#circle

circle : Phaser.Circle A Phaser.Circle that is centered on the x/y coordinates of this pointer, useful for hit detection.The Circle size is 44px (Apples recommended "finger tip" size). Source code: input/Pointer.js (Line 344)

ArrayUtils#numberArrayStep()

numberArrayStep(start, end, step) → {Array} Create an array of numbers (positive and/or negative) progressing from startup to but not including end by advancing by step. If start is less than end a zero-length range is created unless a negative step is specified. Certain values for start and end (eg. NaN/undefined/null) are currently coerced to 0;for forward compatibility make sure to pass in actual numbers. Parameters Name Type Argument Default Description start number The start of th

Group#getIndex()

getIndex(child) → {integer} Get the index position of the given child in this group, which should match the child's z property. Parameters Name Type Description child any The child to get the index for. Returns integer - The index of the child or -1 if it's not a member of this group. Source code: core/Group.js (Line 1029)