Covers the Godot 4.3+ TileMapLayer system with practical scripts for terrain autotiling, destructible tiles, custom data queries, and physics integration. Includes chunking for large worlds, pattern stamping for complex structures, and navigation mesh updates for dynamic environments. The "NEVER do" section is worth reading before you waste time debugging coordinate space mixing or performance tanking from per-frame tile data queries. Best used when you're building grid-based levels and need to go beyond basic tile placement, especially if you're dealing with procedural generation or runtime tile manipulation. The serialization and metadata caching scripts will save you from common performance pitfalls.

skills.sh installs
277
GitHub stars
464
last updated
Aug 21, 2026

Install

$ npx -y skills add thedivergentai/gd-agentic-skills --skill godot-tilemap-mastery --agent claude-code

Installs into .claude/skills of the current project.

Files

NEVER Do in TileMaps

  • NEVER call set_cell() in huge loops without batching — Prefer terrain connect, patterns, or chunk batchers.
  • NEVER forget source_id in set_cell — Wrong overload → crash or silent miss.
  • NEVER mix world coords with tile coords — Always local_to_map / map_to_local.
  • NEVER hand-paint organic blobs when terrains exist — Use terrain sets + set_cells_terrain_connect.
  • NEVER put dynamic actors in the TileMap — Enemies/pickups are nodes; tiles are geometry / destructible cells.
  • NEVER spam get_cell_tile_data() every physics frame — Cache metadata (fast_metadata_cache.gd).

Decision Tree: How to Write Cells

Sponsors

Details

Repository
github.com/thedivergentai/gd-agentic-skills
Categories
AI & Agent Building, Design & UI/UX, Game Development
First seen
Jun 3, 2026

More from thedivergentai/gd-agentic-skills

All 51
1unclecatvn avatarbrainstormingunclecatvn/agent-skillsYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirem277skills.sh installs
2thedivergentai avatargodot-scene-managementthedivergentai/gd-agentic-skillsExpert blueprint for scene loading, transitions, async (background) loading, instance management, and caching. Covers fade transitions, loading screens, dynamic276skills.sh installs
3mitsuhiko avatarcommitmitsuhiko/agent-stuffRead this skill before making git commits275skills.sh installs
4arpitg1304 avatarrobot-perceptionarpitg1304/robotics-agent-skills>273skills.sh installs
5fal-ai-community avatarfal-upscalefal-ai-community/skillsUpscale and enhance image resolution using AI. Use when the user requests "Upscale image", "Enhance resolution", "Make image bigger", "Increase quality", or sim273skills.sh installs
6ngrok avatarexpose-localhostngrok/agent-skillsExpose a local service to the public internet using ngrok. Starts a tunnel, optionally adds OAuth or WAF via Traffic Policy. Use when asked to expose, tunnel, s273skills.sh installs