From pixel art tiles to a Godot 4 level: three workflows compared
Drawing a tileset is the fun part. The part that eats an evening is turning it into a Godot 4 TileSet where the terrain brush actually works: every tile needs its terrain peering bits set, and a full blob set has 47 tiles with up to eight bits each.
Here are three common ways to get from tiles to a playable Godot 4 level, and what each one leaves for you to do by hand. Disclosure: the third workflow uses SimplePixelArt, which I build. The first two are tools I'd recommend for plenty of other jobs.
A quick refresher: Wang 16 vs blob 47
- Wang 16 (corner): each tile is defined by its four corners. 16 tiles cover every combination. Fast to draw, but inner corners and thin paths look a bit square. In Godot this is a terrain set in
Match Cornersmode. - Blob 47: each tile looks at all eight neighbours, so diagonals and thin strips are handled. 47 tiles to draw, much smoother results. In Godot this is
Match Corners and Sides.
(I wrote a longer explainer on how the two systems work if you want the details.)
Workflow 1: Aseprite or Pixelorama → PNG → Godot TileSet editor
The most common route.
- Draw the tiles in Aseprite or Pixelorama on a grid.
- Export one PNG atlas.
- In Godot, create a TileSet, add the atlas, and let it create tiles.
- Add a terrain set, choose the mode, add a terrain.
- Paint the peering bits on every tile in the TileSet editor.
- Add collision polygons to the solid tiles.
- Paint the level with TileMapLayer nodes.
What's good: you use the best drawing tools available, and you learn exactly how Godot's terrain system works.
What you do by hand: steps 5 and 6. For Wang 16 that's quick; for blob 47 it's slow and easy to get wrong. One misplaced bit and the brush picks the wrong tile somewhere in the level, which you discover later. If you redraw the atlas layout, you do it again.
Workflow 2: draw anywhere → Tiled → Godot
- Draw the tiles in any editor.
- Build a tileset in Tiled, set up a Wang set, and paint the map there.
- Bring the map into Godot with a community importer plugin.
What's good: Tiled is an excellent, mature map editor with object layers, custom properties and its own terrain tools. If your team already uses Tiled, this keeps everyone in one tool, and the same map works in other engines.
What you do by hand: the Wang set is still set up manually in Tiled. You also depend on an importer plugin that has to keep up with Godot releases, and you have one more tool in the pipeline.
Workflow 3: SimplePixelArt → .tres and .tscn
- Draw tiles in the pixel art editor, or cut an existing sheet into tiles with the slicer.
- In the tileset editor, group tiles and generate a Wang 16 or blob 47 terrain.
Export for Godot 4: a.tresTileSet with the packed atlas, terrain sets in the matching mode, collision on solid tiles (physics layer 1) and animated tiles.- Optionally paint the level in the tilemap editor and export a zip with a ready
.tscn: ground layers become TileMapLayers, sprites becomeSprite2DorAnimatedSprite2Dnodes, object layers becomeMarker2Dpoints. - Copy the files into a Godot 4.3+ project and open the scene.
What's good: no peering bits to paint and no plugin. The terrain brush works the moment you open the TileSet, and it runs in the browser, free.
What you give up: the drawing tools are simpler than Aseprite's or Pixelorama's, canvases top out at 128×128, and the export targets Godot 4.3+ only, not Godot 3.
You can mix workflows, though: draw in Aseprite, export a PNG, and slice it into the tileset editor just for the terrain and export step.
Side by side
| Aseprite / Pixelorama → Godot | Tiled → Godot | SimplePixelArt → Godot | |
|---|---|---|---|
| Drawing tools | Best | Bring your own | Basic to solid |
| Terrain setup | By hand in Godot | By hand in Tiled | Generated |
| Collision | By hand in Godot | Set in Tiled, depends on importer | Solid tiles, physics layer 1 |
| Level editing | Godot TileMapLayer | Tiled | Built-in tilemap editor or Godot |
| Extra plugin | No | Yes | No |
| Cost | Aseprite paid, Pixelorama free | Free | Free |
Settings that matter whichever route you take
- Project Settings → Rendering → Textures → Default Texture Filter:
Nearest, or your pixels will blur. - Keep camera zoom and window stretch at whole numbers (2×, 3×, 4×) so pixels stay square.
- Use Godot 4.3 or newer if you want TileMapLayer nodes instead of the older TileMap.
Which one?
- You already have a polished atlas and only need Wang 16 → workflow 1 is fine; the manual step is small.
- Your team lives in Tiled or targets several engines → workflow 2.
- You want blob 47 terrains without painting 47 tiles' worth of bits, or a whole scene you can open straight away → workflow 3.
The full step-by-step for the third route is on the Pixel art for Godot 4 page.
How do you handle terrains in your project: painted by hand, Tiled, or a script? I'd like to hear what breaks for people.
Comments
No comments yet. Start the discussion.