Autotile Generator
local processingAutotile Generator
What it is
Autotiling picks a tile for each map cell by looking at which neighbours are filled. A 47-tile blob set covers every combination of the eight neighbours; a 16-tile set only looks at the four sides. Drawing all of those tiles by hand is slow, so this tool builds each one from four quadrants taken from a small source sheet: a 3 × 3 block of corners, edges and fill, plus four inner-corner tiles.
When to use it
Use it to turn a handful of terrain tiles into a complete tileset for Tiled, Godot, Unity or your own engine, to get a paint-over template when you have no art yet, or to find out why your tileset shows gaps when tiles meet. The test map shows the result as you paint, and the seam check lists mismatching edges.
Gotchas & limits
Tile sizes must be even, because every tile is built from half-size quadrants. A 16-tile set cannot react to diagonal neighbours, so it cannot draw inner corners and the seam check skips cases that only differ diagonally. Uploaded sheets must follow the layout shown in the template download; the tool guesses the tile size from the image, and you can correct it. The Tiled export uses a mixed Wang set with one colour, which is what its terrain brush expects.