godot-tilemap-mastery
БесплатноЗапускает вложенные скриптыНе проверенExpert blueprint for TileMapLayer and TileSet systems for efficient 2D level design. Covers terrain autotiling, physics layers, custom data, navigation…
от thedivergentai★ 1 019 звёзд на GitHubОб этом скилле
NEVER Do in TileMaps
- NEVER call
set_cell()in huge loops without batching — Prefer terrain connect, patterns, or chunk batchers. - NEVER forget
source_idinset_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
| Goal | Prefer | Script | Trade-off |
|---|---|---|---|
| Organic ground / roads / rivers | Terrain autotile | terrain_autotile.gd / terrain_path_painter.gd | Setup cost in TileSet; fastest designer iteration |
| Prefab rooms / houses / stamps | TileMapPattern | tile_pattern_stamper.gd | Great for procgen pieces; less flexible per-cell |
| Sparse / precise edits | set_cell |
— | Fine for few cells; bad for thousands/frame |
| Huge streaming worlds | Chunks | tilemap_chunking.gd / procedural_chunk_batcher.gd / tilemap_data_manager.gd | Indirection + load boundaries |
| Destructible dig/break | Custom data HP | destructible_tile_logic.gd | Must refresh nav/physics after edits |
| Gameplay queries (friction/hazard) | Custom data + cache | gameplay_data_query.gd / fast_metadata_cache.gd | Cache invalidation on set_cell |
| Nav after edits | Runtime nav fix | nav_mesh_teleport_fix.gd | Costly if every cell; batch rebuilds |
| One-way / physics layers | TileSet physics | physics_shape_interaction.gd | Align with CharacterBody masks |
| Iso / multi-floor sort | Y-sort layers | sorting_Z_layering.gd | Parent + all layers need y_sort |
| Legacy TileMap → layers | Migration | tilemap_layer_v43_upgrade.gd | One-time upgrade aid |
Editor atlas/physics paint setup: Official Documentation in Reference — Do NOT reload Steps 1–3 / flood_fill tutorials from this skill body.
Available Scripts (single index + MANDATORY triggers)
| Task | MANDATORY script(s) |
|---|---|
| Serialize / large world data | tilemap_data_manager.gd |
| Runtime terrain paths | terrain_path_painter.gd / terrain_autotile.gd |
| Destructible tiles | destructible_tile_logic.gd |
| Custom data gameplay reads | gameplay_data_query.gd (+ fast_metadata_cache.gd if hot) |
| Procedural bulk place | procedural_chunk_batcher.gd |
| Chunk stream in/out | tilemap_chunking.gd |
| Pattern stamp prefabs | tile_pattern_stamper.gd |
| Nav repair after edits | nav_mesh_teleport_fix.gd |
| One-way / physics layer ops | physics_shape_interaction.gd |
| Y-sort / Z layering | sorting_Z_layering.gd |
| 4.3+ multi-layer upgrade | tilemap_layer_v43_upgrade.gd |
Expert Trade-offs (routing only)
- Isometric Y-sort: enable
y_sort_enabledon parent and each TileMapLayer; tuney_sort_originon tall tiles — see sorting_Z_layering.gd. - Procgen: stamp patterns or batch terrain; avoid per-cell
set_cellstorms — tile_pattern_stamper.gd / procedural_chunk_batcher.gd. - Diff / save deltas: compare
get_used_cells()source_id/atlas between layers; persist deltas via tilemap_data_manager.gd rather than full maps when possible.
Deep recipes (on demand)
LLM-ignorance rule: if a general agent would not know it before reading, it lives here or in
scripts/— never delete, only move.
| Topic | Reference |
|---|---|
| TileSet editor steps | tileset-editor-setup.md |
| Runtime APIs + flood/terrain | runtime-tile-patterns.md |
| Iso / patterns / diff | expert-tilemap-architectures.md |
Reference
Progressive
Установить godot-tilemap-mastery в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл godot-tilemap-mastery?
Expert blueprint for TileMapLayer and TileSet systems for efficient 2D level design. Covers terrain autotiling, physics layers, custom data, navigation integration, and runtime manipulation. Use when building grid-based levels OR implementing destructible tiles. Keywords TileMapLayer, TileSet, terrain, autotiling, atlas, physics layer, custom data.
Как установить скилл godot-tilemap-mastery?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-tilemap-mastery запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic