Docs

47-tile terrain

One scene picture in. A ground tile set that fits any shape of level out.

sunpetal-crossing-scene.png

ground.png · 1.3 MB

57 s
from scene to finished atlas
$0.25
estimated, for one image call

A 47-tile set is what lets ground take any shape in a tile-based level: floors, floating ledges, steps, hollows and holes, with every edge and corner finished the right way. Painting one by hand means drawing all 47 variations so that each joins every other without a seam. FX Games holds that as a few steps of one graph. A locked template already has the right structure for every tile; the image model repaints it in the look of your scene in a single call, keeping each tile's finished sides exactly where they were. The sheet is then cut on fixed lines, checked for seams and holes, and packed into an atlas a game engine loads directly.

Try it

Make a 47-tile ground atlas that matches 1this scene, using FX Games' side-view terrain atlas in docs/spec/terrain-atlas.md. The picture is my own artwork. Start from a copy of the Bellweather package in godot/games/bellweather/inputs/default, and give one map's ground this scene as its reference, asking for warm cream paving, moss-softened edges and darker soil beneath.

Plan it first. Then build the world part live, and show me the atlas and the level laid out with it.

+

Paste it into an agent that can use this repository, and attach your own files where the prompt refers to them.

Draw with it

Click or drag to add or take away ground. Each cell looks at its eight neighbours and takes one of the 47 tiles; point at a cell to see which one in the atlas below.

How the template holds the shape

⇆
What the model is givenWhat it paints
Drag across the sheet. Which sides of each tile are finished and which corners turn comes from the template; the prompt only describes the look.

Another scene, same template

amberbell-forest-scene.png

ground.png · 1.4 MB

The forest map asked for broad paving woven with old roots, amber leaves and dark forest soil. It was painted over the same template, passed the same checks, and fits the same levels.

What you get

bellweather-m17-world121 files, 95.1 MB
NameSizeKind
maps94.5 MBFolder, 115 files
sunpetal-crossing39.6 MBFolder, 59 files
ground.png1.3 MBThe atlas: 47 tiles of 120 pixels, 12 by 4, with one reserved cell left empty
ground.validation.json11 KBThe checks it passed, and which tile each test shape used
ground.evidence.png794 KBThe level laid out with the atlas
ground.raw.png4.1 MBThe painted sheet as the model returned it
terrain.json1 KBThe level as a grid of solid and empty cells
execution-summary.json42 KBHow the run ended, step by step
and 5 more files the pipeline keeps for recovery and auditing

Where it works

Works well

  • A scene picture that shows the ground you want: paving, soil, rock, grass
  • Side-view levels on a square grid: floors, floating ledges, steps, hollows and holes
  • One material per atlas, with its own finish along the top
  • Engines that use 3×3 minimal terrain, such as Godot's terrain sets

Not expected to work

  • Smooth slopes: steps are square, and a slope needs its own tiles and collision
  • Two materials meeting, such as grass giving way to sand
  • Pixel art: the finish is hand-painted
  • Top-down maps

Good to know

  • The tiles are admitted by measurement, not by a reviewer. Draw a few shapes with them before you use them.
  • Busy ground shows its repeats. A course of slabs reads as a wall; a single bright pebble reads as a copy.
  • For now the atlas is made as part of a platformer's world preparation, which also paints that map's backgrounds.

What goes wrong by hand

By handIn the graphHow
Described in words, tile edges come back as the words: grooves for a grid, gaps where an underside is mentioned.The model repaints a template that already has every finished side and corner. It is never asked to draw structure from a description.
Tiles that look right alone show a line where they meet.Every join the tiles can make is measured, and a sheet with a visible step in tone is drawn again, within six tries.
A tile carries a hole or a strip of the guide line into the game.The sheet is cut on fixed lines inside the fence, and a tile with any transparent pixel is refused.
A level shape turns up that no tile was drawn for.The lookup of 47 neighbour patterns is fixed and checked complete, so every shape a level can take has a tile.

Models and tools

GPT-5.6 SolOpenRouterLanguage model
GPT Image 2.5 SunburstOpenAIImage model
PillowlocalCuts the sheet on fixed lines, measures every join and packs the atlas