Skip to content

createTilemapLayers

createTilemapLayers(map, layerNames?): TilemapLayers

Defined in: tilemap/src/tiled/parseTiledMap.ts:425

Build CompositeTilemap display objects from a parsed Tiled map.

TiledMapData

Parsed TiledMapData (with resolved tilesets).

string[]

Optional filter: only process these tile layer names.

TilemapLayers

The layer containers plus the frame textures they draw with.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/tilemap.md.