Math#angleBetween()

angleBetween(x1, y1, x2, y2) → {number} Find the angle of a segment from (x1, y1) -> (x2, y2). Parameters Name Type Description x1 number The x coordinate of the first value. y1 number The y coordinate of the first value. x2 number The x coordinate of the second value. y2 number The y coordinate of the second value. Returns number - The angle, in radians. Source code: math/Math.js (Line 404)

LoaderParser.xmlBitmapFont()

<static> xmlBitmapFont(xml, baseTexture, xSpacing, ySpacing) → {object} Parse a Bitmap Font from an XML file. Parameters Name Type Argument Default Description xml object XML data you want to parse. baseTexture PIXI.BaseTexture The BaseTexture this font uses. xSpacing number <optional> 0 Additional horizontal spacing between the characters. ySpacing number <optional> 0 Additional vertical spacing between the characters. Returns object - The pars

LoaderParser.jsonBitmapFont()

<static> jsonBitmapFont(json, baseTexture, xSpacing, ySpacing) → {object} Parse a Bitmap Font from a JSON file. Parameters Name Type Argument Default Description json object JSON data you want to parse. baseTexture PIXI.BaseTexture The BaseTexture this font uses. xSpacing number <optional> 0 Additional horizontal spacing between the characters. ySpacing number <optional> 0 Additional vertical spacing between the characters. Returns object - The

LoaderParser.bitmapFont()

<static> bitmapFont(xml, baseTexture, xSpacing, ySpacing) → {object} Alias for xmlBitmapFont, for backwards compatibility. Parameters Name Type Argument Default Description xml object XML data you want to parse. baseTexture PIXI.BaseTexture The BaseTexture this font uses. xSpacing number <optional> 0 Additional horizontal spacing between the characters. ySpacing number <optional> 0 Additional vertical spacing between the characters. Returns object

LoaderParser#LoaderParser

new LoaderParser() Phaser.LoaderParser parses data objects from Phaser.Loader that need more preparation before they can be inserted into the Cache. Source code: loader/LoaderParser.js (Line 12)

Loader.TEXTURE_ATLAS_XML_STARLING

[static] TEXTURE_ATLAS_XML_STARLING : number Source code: loader/Loader.js (Line 316)

Loader.TEXTURE_ATLAS_JSON_PYXEL

[static] TEXTURE_ATLAS_JSON_PYXEL : number Source code: loader/Loader.js (Line 334)

Loader.TEXTURE_ATLAS_JSON_HASH

[static] TEXTURE_ATLAS_JSON_HASH : number Source code: loader/Loader.js (Line 310)

Loader.TEXTURE_ATLAS_JSON_ARRAY

[static] TEXTURE_ATLAS_JSON_ARRAY : number Source code: loader/Loader.js (Line 304)

Loader.PHYSICS_PHASER_JSON

[static] PHYSICS_PHASER_JSON : number Source code: loader/Loader.js (Line 328)