tileset
/tileset
Design seamless tiles and autotile sets, or deduplicate a hand-painted mockup into a reusable tileset, then export for Tiled or Godot. Use for level art, terrain and anything that repeats.
- Author
- with-pebbly ↗
- Repository
- aseprite-ai-artist ↗
- Licence
- MIT
- Last repository change
- 22.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 22.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Design seamless tiles and autotile sets, or deduplicate a hand-painted mockup into a reusable tileset, then export for Tiled or Godot. Use for level art, terrain and anything that repeats.
Original author description
Design seamless tiles and autotile sets, or deduplicate a hand-painted mockup into a reusable tileset, then export for Tiled or Godot. Use for level art, terrain and anything that repeats.
How it works
- Decide the grid before anything else
- Seamless tiles
- Autotiling
- From a painted mockup
- Export
- Related
SKILL.md preview
--- name: tileset title: Build a tileset description: Design seamless tiles and autotile sets, or deduplicate a hand-painted mockup into a reusable tileset, then export for Tiled or Godot. Use for level art, terrain and anything that repeats. --- # Build a tileset Requires an extension advertising the `tileset` feature — check `preflight` first. Older builds answer `unsupported_command` loudly rather than doing nothing. ## Decide the grid before anything else The tile size is the one decision everything else depends on, and it belongs to the game, not to the art. Ask if you do not know it. 16×16 and 32×32 are the common answers. ## Seamless tiles A tile is seamless when its right edge continues into its own left edge, and its bottom into its own top. Method that works: 1. Draw the tile's interior first, ignoring edges. 2. Draw the edge pattern on one side. 3. `look op="ascii"` the first and last columns and make them continue into each other. This is exact work; do it in the text grid, not by eye. 4. Same for top and bottom rows. 5. Stamp the tile in a 3×3 block and `look op="preview"`. Seams show up immediately when tiled; they are invisible in isolation. **Avoid a repeating feature.** A distinctive rock in the middle of a grass tile becomes a visible grid the moment it repeats. Keep repeating tiles low-contrast and put the distinctive elements in occasional variant tiles. ## Autotiling A blob-47 set covers every combination of neighbours for a 4-connected terrain. It is 47 tiles, and hand-authoring them in the right order is where this goes wrong — build the terrain body first, then the edge and corner cases, then export with `layout="blob47"` so the exporter writes the wangset. ## From a painted mockup Painting a level by hand and extracting tiles from it produces better-looking tilesets than authoring tiles in isolation, because you see the whole picture while drawing. 1. Paint the mockup on a normal layer, on a canvas that is a whole number of tiles in each direction. `pack` refuses otherwise rather than silently losing a partial edge tile. 2. Pack it: ``` tileset op="pack" layer="mockup" name="terrain" tileWidth=16 tileHeight=16 ``` You get a tileset plus a tilemap layer that reconstructs the mockup exactly. The mockup is **hidden, not deleted** — unhide it to compare if a tile looks wrong. 3. Read the result. `cellCount` against `tileCount` tells you how much the mockup actually reused. A 400-cell mockup that yields 300 tiles was painted without regard to the grid; the tool says so, and the fix is to redraw with the grid visible, not to accept it. 4. `tolerance` merges near-identical cells (per-channel difference, 0–255). It is off by default because a merge changes the art: the tilemap becomes an approximation of the mockup rather than a copy, and the result says how many cells that affected. ## Export ``` tileset op="export" layer="terrain" format="tiled" path="…/terrain.tsj" ``` Writes three files: the packed PNG, the `.tsj` tileset, and a `.tmj` map that uses it — so the export opens in Tiled as a level, not just an image. - `format="godot"` writes a Godot 4 `TileSet` resource (`.tres`). - `format="json"` writes the tile grid plus the tilemap layout, for a custom engine. It states its own index convention in the file. - LDtk needs no exporter — it reads `.aseprite` directly, so just save the document. Aseprite reserves tile index 0 for the empty tile. The exporter drops it from the atlas so engine indices line up, and index 0 becomes "no tile", which is what every engine expects. ## Autotiling ``` tileset op="export" format="tiled" layout="blob47" path="…/terrain.tsj" ``` Adds a Tiled wangset for 4-connected autotiling. It assumes the 47 tiles are authored in **canonical blob47 order** — the 47 distinct neighbour masks in ascending order, after Aseprite's empty tile — and refuses if the set is incomplete rather than writing a wangset that autotiles wrongly. If you are not sure of the ordering, export `format="json"` first: it reports the index-to-mask mapping so you can check a few tiles by eye. ## Related `rules://04-outlines-and-edges` for edge consistency, `rules://66-tiles-and-autotiling` for layouts and transitions, `rules://65-ground-rocks-grass` and `rules://67-architecture-and-interiors` for the tiles themselves, `rules://71-isometric` for iso sets.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · with-pebbly/aseprite-ai-artist | 100 | MIT |
| d3uceY/SpriteWare | 100 | MIT |
| randallliuxin/godotmaker | 100 | Apache-2.0 |
| awesomemotive/tileset-mcp | 100 | MIT |
| melodic-software/claude-code-plugins | 84 | MIT |
Database snapshot: 13.11.2026 · package version 184a2dffd184 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Similar skills
- 100godot-tilemap
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… - 90game-tileset-authoring
Use when the task is to build tile sets with terrain rules, collision, and transition coverage. - 100layer-tilesets
Use when making game tiles with Layer that must snap together on a grid: isometric tiles, hex tiles, diamond or top-down map tiles, buildings and props with a footprint, the same building from four facings, or a tileset for Tiled, Godot or Unity. Also when generated tiles do not… - 90godot-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… - 100godot-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… - 100tileset-catalog
Bootstrap a semantic tile catalog for a custom (non-RTP) RPG Maker MZ tileset by vision. Use when a project's tileset sheets (e.g. Custom_A2.png, an unfamiliar A1–A5/B–E sheet) are NOT covered by the server's built-in catalog, so find_tile/get_tile_catalog return nothing for…