Skip to main content
GDT
SkillFreeBy GameSkill · tuned

Godot TileMap

/godot-tilemap

Tile-based 2D levels in Godot 4.7 with TileMapLayer: collision and navigation on tiles, terrain autotiling and editing cells from code.

License
Apache-2.0
By
By GameSkill
Download ZIP

Part of

Awesome Gamedev Agent Skills

77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.

Tested by GameSkill

34/34 checks passed on Godot 4.7.2 (2026-10-30): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.

Test report

What this skill does

When it triggers

7 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). …

GameSkill's tested copy

GameSkill's tuned build of this skill: the skill files from commit 19d93f97c9c1, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.

Download tested ZIP (24 KB)Roadmap: Engine basics

License: based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills, under Apache-2.0. The ZIP keeps the license files (LICENSE, NOTICE) and lists everything GameSkill added in CHANGES.md.

Godot TileMap

Self-check

  • 用 TileMapLayer,不用已废弃的 TileMap / Use TileMapLayer, not the deprecated TileMap
  • 碰撞、自定义数据都放在 TileSet 的层里 / Collision and custom data live in TileSet layers
  • 读瓦片数据前先判断格子是否为空 / Check for empty cells before reading tile data
  • 坐标转换用 local_to_map 和 map_to_local / Convert positions with local_to_map and map_to_local
  • 测碰撞前等一个物理帧 / Wait a physics frame before testing tile collision

Install

Tell your AI

Install the skill from https://gameskill.dev/skills/godot-tilemap/install.md

GameSkill's tested copy

Tested copy into .claude/skills/
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/godot-tilemap.zip -o /tmp/gameskill-godot-tilemap.zip
unzip -oq /tmp/gameskill-godot-tilemap.zip -d .claude/skills
rm /tmp/gameskill-godot-tilemap.zip

What you get

  • Worked steps: Convert mouse position to a cell and read its custom data; Place and erase tiles at runtime; Autotiling a region with a terrain set; Iterate placed tiles
  • A pitfalls section with the mistakes to avoid
  • Bundled 1 reference doc the agent reads when needed
  • Written for Godot 4.7

Good fit

  • Working with TileMapLayer nodes, .tres TileSets, autotiling
  • Migrating a deprecated TileMap node to TileMapLayer

Try this prompt

Prompt
Set up a TileSet with collision and terrain autotiling on a TileMapLayer.

About this skill

Build and edit tile-based 2D levels in Godot 4.7 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.

From the godot-tilemap SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.

What's inside

  • Convert mouse position to a cell and read its custom data
  • Place and erase tiles at runtime
  • Autotiling a region with a terrain set
  • Iterate placed tiles (e.g. find all spawn tiles)

Requirements

  • Godot 4.7

FAQ

MATCHED PRO KIT$8.25/mo

Roguelike Deckbuilder Starter (Godot 4 + Web)

Stop staring at an empty project: a complete white-label playable Roguelike Deckbuilder template in Godot 4 & Web HTML5 — Opening 3-Slot Blessings, Non-Crossing DAG Map, Hand-Arc Combat, 50% Boss Phase Lock, Campfire/Shop Purge, atomic SaveStore, EN/ZH Localization, balanced JSON/CSV tables & 1,000-run HTML balance CLI.

  • Runnable Godot 4.3+ project (project.godot, Main.tscn, GameBus, atomic SaveStore & EN/ZH LocService)
  • Playable zero-build Web HTML5 starter with hand arc, 2f hit-flash, micro shake & checksummed save

Based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills (Apache-2.0). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.

Works well with

Skills the author points to as related or as the better fit for neighbouring tasks.

More from Awesome Gamedev Agent Skills

See all 43

Similar skills