heightInPixels : number The height of the map in pixels based on height * tileHeight.
setPreventRecalculate(value) Turn off/on the recalculation of faces for tile or collision updates.setPreventRecalculate(true)
dump() Dumps the tilemap data out to the console. Source code:
shuffle(x, y, width, height, layer) Shuffles a set of tiles in a given area. It will only randomise the
[static] WEST : number Source code:
setCollisionByExclusion(indexes, collides, layer, recalculate)
objects :array An array of Tiled Object Layers. Source code:
replace(source, dest, x, y, width, height, layer) Scans the given area for tiles with an index matching
getImageIndex(name) → {number} Gets the image index based on its name. Parameters
putTileWorldXY(tile, x, y, tileWidth, tileHeight, layer) → {
Page 3 of 8