← ClaudeAtlas

unity-2d-levellisted

2D level layout as data: Tiled/LDtk import, rooms, endless chunks, seeded levels, jump reachability.
tipoLi5890/unity-dev-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill tipoLi5890/unity-dev-skills
# unity-2d-level — a level is data with invariants, and the Tilemap is one renderer of it > **A level that exists only as painted Tilemaps can be looked at and played, and nothing > else.** It cannot be diffed, generated, converted from another editor, validated outside the > Editor, or asked "can the runner reach that pickup". Asking a Tilemap "is this cell solid" is > a native call per cell; its bounds grow when painted and never shrink when erased; and its > collider catches up with its tiles later in the frame. None of that is a bug — a Tilemap is a > renderer. The level is the small data structure it was painted from. ## The situation → what to read | The situation | Read | |---|---| | "Which Tilemap layers do I need": which Tilemaps a level needs, which collide, where each sorts; painting entities as marker tiles | `reference/layer-stack.md` | | "Load this level from JSON": the level file's keys (tile ids, spawn, gate, pickups, entities), cell indexing, ids instead of asset references, versions, asset or JSON | `reference/level-data.md` | | `SetTile` or `SetTiles` or `SetTilesBlock`; a block that painted nothing; bounds that will not shrink; cell to world; "no floor collider right after SetTile", the floor missing for one step after a load; breaking tiles in play | `reference/runtime-tilemap.md` | | Rooms and doors, their enter event, a room graph, soft locks, "stitch chunks for an endless runner", the difficulty ramp, additive room scenes | `reference/rooms-and-chun