1681-engine / index / LdtkParseOptions
Interface: LdtkParseOptions ​
Defined in: src/tilemap/ldtkParse.ts:252
Properties ​
levels? ​
ts
optional levels?: Record<string, unknown> | ((relPath) => unknown);Defined in: src/tilemap/ldtkParse.ts:257
The parsed JSON of each external level file, by the externalRelPath the project names it with (ldtkExternalLevels lists them). A level left out stays loaded: false, so levels can be streamed in later.