API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceLdtkToTileMapOptions
@codexo/exojs-ldtk / ldtk / stable
Options for ldtkToTileMap.
2
props
0
methods
0
events
Import
import { LdtkToTileMapOptions } from '@codexo/exojs-ldtk'Options for ldtkToTileMap.
Properties2
source?: stringSource URL of the loaded .ldtk file, used as LdtkMap.source. Defaults to an empty string when omitted (e.g. programmatic / test usage).
Pre-loaded runtime TileSets keyed by LDtk tileset UID. When provided, tile layers are populated with tile data from gridTiles / autoLayerTiles. Without this map, tile layers are created with the correct dimensions but no tiles are placed - only entity and object layers carry data. Populate via import('./loadLdtkMap').loadLdtkMap for asset-loading flows, or pass a hand-crafted map for testing.
Source