godot-tilemap
Build and edit tile-based 2D levels in Godot 4.3+ with TileMapLayer and TileSet: paint layers, set up collision/navigation/custom-data on tiles, autotile with terrain sets, and read/write cells from code (set_cell, get_cell_tile_data, local_to_map). Use when working with TileMapLayer nodes, .tres TileSets, autotiling, or migrating a deprecated TileMap node to TileMapLayer.
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill godot-tilemap --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Godot TileMap (4.3+ TileMapLayer) Author tile-based levels with `TileMapLayer` + `TileSet`, add per-tile collision and custom data, autotile with terrains, and manipulate cells at runtime. Targets **Godot 4.3+**, where `TileMapLayer` replaces the now-deprecated `TileMap` node. ## When to use - Use when designing 2D levels from a tile grid, configuring a `TileSet` (collision, navigation, custom data, terrains), or reading/writing tiles from code. - Use when migrating a `TileMap` node (single node, many layers) to multiple `TileMapLayer` nodes (one layer each). **When *not* to use:** moving the player across the tiles → `godot-2d-movement`; general physics bodies/raycasts → `godot-physics`; procedural map *generation* algorithms → `procedural-gen`; level *design* practice → `level-design`. ## Core workflow 1. **Add a `TileMapLayer` node** (one per visual/logical layer: background, walls, foreground). Each holds exactly one layer of tiles. 2. **Create or assign a `TileSet`** on the layer's `tile_set` property. Add an atlas source (a texture sliced into tiles) in the TileSet editor. Save the TileSet as an external `.tres` so multiple layers/levels reuse it. 3. **Add tile data in the
- When to use
- Core workflow
- Patterns
- 1. Convert mouse position to a cell and read its custom data
- 2. Place and erase tiles at runtime
- 3. Autotiling a region with a terrain set
- 4. Iterate placed tiles (e.g. find all spawn tiles)
- Pitfalls
- References
- Related skills
What does the godot-tilemap skill do?
Build and edit tile-based 2D levels in Godot 4.3+ with TileMapLayer and TileSet: paint layers, set up collision/navigation/custom-data on tiles, autotile with terrain sets, and read/write cells from code (set_cell, get_cell_tile_data, local_to_map). Use when working with TileMapLayer nodes, .tres TileSets, autotiling, or migrating a deprecated TileMap node to TileMapLayer.
How do I install it?
Run `npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill godot-tilemap --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From gamedev-skills/awesome-gamedev-agent-skills, a repository with 406 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
