spawnTilemap
spawnTilemap(
game,map,tilesets,options?):Tilemap
Spawns one entity per non-empty tile with z = baseZ + layer index (object layers take an index too,
so objects can sit between tile layers). Like Tiled, a tile image sits on the bottom of its cell, so tall
tiles grow upward. Orthogonal cells are the grid squares; isometric cells are diamonds, and object
positions are converted to screen pixels.
Parameters
Section titled “Parameters”tilesets
Section titled “tilesets”options?
Section titled “options?”number
