API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceLdtkWorldData

@codexo/exojs-ldtk / ldtk / stable

A single world in a multi-world LDtk project (`root.worlds[]`, populated when the project has "Multi-Worlds" enabled in its advanced settings). Each world owns its own levels; `defs` (tilesets/layers/entity definitions) is declared once at the document root and shared by every world rather than duplicated per-world - see LdtkData.defs.

6
props
0
methods
0
events
Import
import { LdtkWorldData } from '@codexo/exojs-ldtk'

A single world in a multi-world LDtk project (`root.worlds[]`, populated when the project has "Multi-Worlds" enabled in its advanced settings). Each world owns its own levels; `defs` (tilesets/layers/entity definitions) is declared once at the document root and shared by every world rather than duplicated per-world - see LdtkData.defs.

Properties6
identifier: string
Human-readable world identifier (unique within the project).
iid: string
Globally unique instance id (UUID string).
Levels belonging to this world, in document order.
worldGridHeight: number
Height of the world grid in pixels.
worldGridWidth: number
Width of the world grid in pixels.
Source