melonJS
    Preparing search index...

    Interface LDtkWorldInfo

    a world of a project: its levels, laid out

    interface LDtkWorldInfo {
        bounds: { height: number; width: number; x: number; y: number };
        id: string;
        identifier: string;
        layout: string;
        levels: LDtkLevelInfo[];
    }
    Index
    bounds: { height: number; width: number; x: number; y: number }

    the area the levels cover, in pixels

    id: string

    the id the whole world is loaded by: level.load(id)

    identifier: string

    the world's identifier; empty in a project of one world

    layout: string

    Free, GridVania, LinearHorizontal or LinearVertical

    levels: LDtkLevelInfo[]

    the world's levels, in LDtk's order