OptionalcollisionThe IntGrid layers whose cells are solid, by their identifier in LDtk: each run of solid cells becomes one static body.
Optionallevelsloading a whole world: the levels to start with, by their identifier. The others are added later with LDtkWorld#loadLevel or LDtkWorld#streamAround
OptionalobjectsBuild the objects LDtk's Entities layers place (its "entities"): all
of them, none, or the ones a function says, given each one's settings
as its class would be, as its level is built (and built again, in a
world whose levels come and go). The way to leave out what the player
took: (settings) => !taken.has(settings.id). The same option as for
a Tiled map.
Optionalsethave the viewport follow the level's area: its bounds, and a level smaller than the viewport centred in it
Optionalshowdraw the IntGrid layers that have no tiles of their own, each value in the color it has in LDtk: to see a level that is not dressed yet
Optionalsolidthe values of those layers that are solid
how a level or a world of an LDtk project is added to the game