All skills
thedivergentai avatar

/godot-tilemap-mastery

@57c9225

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.

Use this Skill: https://skilld.dev/gh/thedivergentai/gd-agentic-skills/godot-tilemap-mastery

This session only. Nothing lands on disk.

referencesexpert-tilemap-architectures.md

≈216 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Expert TileMap architectures

Isometric Y-sort

TILE_SHAPE_ISOMETRIC + y_sort_enabled on parent and each TileMapLayer. Tune y_sort_origin on tall TileData.

See sorting_Z_layering.gd.

TileMapPattern stamping

Capture with get_pattern(coords); stamp with set_pattern(position, pattern) — tile_pattern_stamper.gd.

[!CAUTION] Pattern stamp beats thousands of set_cell calls and preserves source_id/atlas/alternative.

Layer diff / save deltas

Iterate get_used_cells() on source vs target; sync differing source_id / atlas / alternative — persist deltas via tilemap_data_manager.gd.

Navigation

Paint nav polygons in TileSet; after runtime edits batch-rebuild regions — do not rebuild every single cell.

Source: SKILL.md on GitHub

1 warning17d4 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    This skill is safe for development and provides well-structured GDScript templates for Godot Engine TileMap systems. A minor security surface was identified regarding indirect prompt injection, as the skill provides scripts that read custom metadata from game assets (TileSets) which could potentially contain malicious instructions if the assets originate from an untrusted source.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer7mo

    4/4 files flagged

Signed by skilld at 57c9225. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 2 months ago

README badge

README badge for thedivergentai/gd-agentic-skills/godot-tilemap-mastery