getTileAbove(layer, x, y) Gets the tile above the tile coordinates given.Mostly used as an internal function by calculateFaces
getTileX(x) → {integer} Convert a pixel value to a tile coordinate. Parameters
addTilesetImage(tileset, key, tileWidth, tileHeight, tileMargin
[static] CSV : number Source code:
height : number The height of the tile in pixels. Source code:
<static> parseCSV(key, data, tileWidth, tileHeight)
createFromObjects(name, gid, key, frame, exists, autoCull, group
getTilesetIndex(name) → {number} Gets the tileset index based on its name. Parameters
width : number The width of the sprite, setting this will actually modify the scale to achieve the value set
[static] TILED_JSON : number Source code:
Page 24 of 25