centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by
getTileAbove(layer, x, y) Gets the tile above the tile coordinates given.Mostly used as an internal function by calculateFaces
getTilesetIndex(name) → {number} Gets the tileset index based on its name. Parameters
worldX Properties: Name Type Description
cropRect : Phaser.Rectangle The Rectangle used
index : number The index of this tile within the map data corresponding to the tileset, or -1 if this represents a blank/null tile
collisionCallbackContext : Object The context in which the collision callback will be called.
height : number The height of the tile in pixels. Source code:
createFromTiles(tiles, replacements, key, layer, group, properties)
Page 23 of 25