godot-tilemap
Skill by gamedev-skills
Builds Godot 4.7 tile levels with TileMapLayer and TileSet. It covers atlas sources, collision and custom data layers, terrain autotiling and runtime cell edits, for Godot developers working in 2D.
Install godot-tilemap
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/godot/godot-tilemap ~/.claude/skills/godot-tilemapRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/godot/godot-tilemap ~/.gemini/antigravity-cli/skills/godot-tilemapAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill covers 2D tile levels in Godot 4.7 using TileMapLayer and TileSet. It explains how to set up atlas sources, physics and custom data layers, and terrain autotiling. It also shows how to place, erase and read tiles from code with set_cell, erase_cell and local_to_map, and how to fix mouse clicks that land on the wrong cell.
The skill recommends one TileMapLayer per layer, all sharing a TileSet saved as a .tres file. It includes GDScript patterns for generating a TileSet with a headless script, converting mouse input to a cell, and running a headless test that checks a wall tile has collision. It is meant for Godot developers building 2D tile levels or migrating from the deprecated TileMap node. Unity, tile art and procedural generation are handled by other skills.
Written from the project's SKILL.md and checked against it.
What it can do
- TileSet generationBuilds a TileSet .tres with a headless script that adds atlas sources, physics and custom data layers.
- Mouse to cell conversionConverts a click to a map cell with local_to_map and reads custom data such as damage from that cell.
- Runtime tile editingPlaces, erases and autotiles cells at runtime with set_cell, erase_cell and terrain connect functions.
- Headless tile testRuns a headless Godot test that checks a placed wall tile has data and a collision polygon.
- Collision and navigation setupExplains per-layer collision and navigation settings and physics layer bits for tile collisions.
- TileMap migrationDescribes moving from the deprecated TileMap node to one TileMapLayer per layer.
What you need
- Godot 4.7
- A Godot binary (godot, godot4 or $GODOT_BIN) for headless tests
Try asking
- Write a headless Godot script that builds a TileSet with a damaging wall tile
- Fix my Godot TileMapLayer click so it hits the correct cell under a Camera2D
- Add autotiled grass to my Godot level using terrain connect
Good to know
- The TileSet editor is click-only, so some steps need the user to make changes in the editor.
- The TileMap node is deprecated since Godot 4.3, so the skill targets TileMapLayer.
- Verified against Godot 4.7.2-stable.
- Cell data in .tscn files is encoded and should not be edited by hand.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/godot/godot-tilemap/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/tileset-and-terrains.md4 KB
Alternatives to godot-tilemap
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
godot-tilemap: common questions
Does this skill work with Godot 4.7 TileMapLayer?
Yes. The skill targets Godot 4.7 and states that TileMapLayer replaces the deprecated TileMap node.
Can it help when clicks hit the wrong tile in Godot?
Yes. It explains that local_to_map needs layer-local coordinates and shows how to convert mouse input with make_input_local, which handles Camera2D scroll and zoom.
How do I add collision to tiles in Godot?
The skill shows adding a physics layer to the TileSet and a collision polygon to each tile, then checking the tile has collision in a headless test.
How do I install godot-tilemap?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is godot-tilemap free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is godot-tilemap safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to godot-tilemap?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
