Skip to content
SkillModel-led2,283 tokens in use

unity-tilemap-2d

Unity 6.3 LTS 2D tilemaps for your coding agent: Grid and Tilemap setup, merged Tilemap Collider 2D, Rule Tiles and runtime SetTile painting, checked by reading the map back.

9,684 stars on the repository Apache License 2.0gamedev-skills/awesome-gamedev-agent-skills · skills/unity/unity-tilemap-2d
npx skills add gamedev-skills/awesome-gamedev-agent-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing unity-tilemap-2d costs

102tokens idle
2,283tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter8/15
  • Structure23/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 131

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity92
  • Maintenance96
  • Community60
  • Maturity24
  • Momentum40

This skill guides an agent through building tile-based 2D levels in Unity 6.3 LTS. It covers a Grid with one Tilemap per layer, collision merged through a Composite Collider 2D, Rule Tiles from the 2D Tilemap Extras package, and painting or erasing cells from script with SetTile and SetTilesBlock.

It also lists the problems that show up in practice: seams between tile colliders, a RuleTile type that cannot be found, world and cell coordinates mixed up, and cell bounds that stay large after tiles are erased.

What You Get

  • A six-step workflow from package gating to verification
  • C# patterns for painting and querying tiles, filling a region with SetTilesBlock, and creating Tile assets from a sliced sprite sheet in editor code
  • Collider guidance: Tilemap Collider 2D with a static Composite Collider 2D set to Merge
  • Verification routes that grep the scene YAML, query a ready Editor through the Unity CLI, or run tests
  • A gotcha list for seams, sorting, refresh costs, bounds and the Unity 6 compositeOperation change

Common Use Cases

  • Painting a platformer level and giving it one merged collider with no seams
  • Generating rooms or floors from script with SetTilesBlock
  • Setting up Rule Tiles for auto-tiling terrain edges and corners
  • Working out why a RuleTile type is missing or tiles draw under sprites

What Makes It Unique

The skill treats the scene file as evidence: it tells the agent which Tilemap and TilemapCollider2D lines to grep so a merged collider and painted cells can be confirmed without an Editor. It separates what is built in from what needs the 2D Tilemap Extras package, and it points to level design, procedural generation and physics skills for the parts it does not cover.

Under The Hood

The agent loads the SKILL.md and works in your Unity project. It checks the package lock file, greps scene YAML, writes C# scripts including editor scripts that create Tile assets, and can run them with the Unity command line tool or in batch mode. When an Editor is ready it can evaluate scripts and read back tile counts and collider paths. It does not fetch web pages or call outside services, and it asks before adding a package.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers