"<asset>:<level>" for one level of the project, "<asset>" for its whole world
"gltf", "glb"
a 3D tool that exports glTF
the asset's name
The objects a level places are built by the classes registered with
registerObjectClass, and the level's tile layers are
TileLayers, whichever of them it is.
level
awaitlevel.load("cave", { async:true }); // a Tiled map awaitlevel.load("tower", { async:true }); // a Sprite Fusion map awaitlevel.load("world:Entrance", { async:true }); // one level of an LDtk project awaitlevel.load("world", { async:true }); // or its whole world
The level director: it knows every level the loader has read, and puts one into the world on request.
A level is registered when its asset loads, under the asset's name, whatever it was made with:
level.load(...)"tmx""tilemap""spritefusion""ldtk""<asset>:<level>"for one level of the project,"<asset>"for its whole world"gltf","glb"The objects a level places are built by the classes registered with registerObjectClass, and the level's tile layers are TileLayers, whichever of them it is. level
Example