Canvas.create()

<static> create(parent, width, height, id, skipPool) → {HTMLCanvasElement} Creates a canvas DOM element. The element is not automatically added to the document. Parameters Name Type Argument Default Description parent object The object that will own the canvas that is created. width number <optional> 256 The width of the canvas element. height number <optional> 256 The height of the canvas element.. id string <optional> (none) If specified, and n

TilemapLayer#anchor

anchor :Point The anchor sets the origin point of the texture.The default is 0,0 this means the texture's origin is the top leftSetting than anchor to 0.5,0.5 means the textures origin is centeredSetting the anchor to 1,1 would mean the textures origin points will be the bottom right corner Inherited From PIXI.Sprite#anchor Source code: pixi/display/Sprite.js (Line 17)

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

Utils.Debug#game

game : Phaser.Game A reference to the currently running Game. Source code: utils/Debug.js (Line 28)

TilemapLayer#health

health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object. It can be used in combination with the damage method or modified directly. Inherited From Phaser.Component.Health#health Default Value 1 Source code: gameobjects/components/Health.js (Line 26)

Timer#next

[readonly] next : number The time at which the next event will occur. Source code: time/Timer.js (Line 664)

WebGLFilterManager#initShaderBuffers()

initShaderBuffers() Initialises the shader buffers. Source code: pixi/renderers/webgl/utils/WebGLFilterManager.js (Line 397)

Sound#gainNode

gainNode : Object The gain node in a Web Audio system. Source code: sound/Sound.js (Line 170)

Tilemap#putTileWorldXY()

putTileWorldXY(tile, x, y, tileWidth, tileHeight, layer) → {Phaser.Tile} Puts a tile into the Tilemap layer. The coordinates are given in pixel values. Parameters Name Type Argument Description tile Phaser.Tile | number The index of this tile to set or a Phaser.Tile object. x number X position to insert the tile (given in pixels) y number Y position to insert the tile (given in pixels) tileWidth number The width of the tile in pixels. tileHeight number The height of the t

Tilemap#setPreventRecalculate()

setPreventRecalculate(value) Turn off/on the recalculation of faces for tile or collision updates.setPreventRecalculate(true) puts recalculation on hold while setPreventRecalculate(false) recalculates all the changed layers. Parameters Name Type Description value boolean If true it will put the recalculation on hold. Source code: tilemap/Tilemap.js (Line 1044)