Pixel art games
Designing Tilesets for Pixel Art Games
A good pixel art tileset is designed as a system before it is drawn: a fixed tile size, a clear set of edge and corner pieces for autotiling, enough variants to hide repetition, and a strong visual difference between what the player can stand on and what is decoration. Get those right and level designers can build quickly without the world looking like a grid.
Start from the grid and the camera
Tile size is tied to your base resolution and character size, so settle those first. A 16×16 tile at a 320×180 base shows 20 tiles across the screen, which is a comfortable playfield for most platformers and top-down games. If you have not made that decision yet, our guide to choosing a resolution and sprite size covers it.
Next, decide the perspective. Side-view platformers need ground, walls, ceilings and platforms. Top-down games need floors, walls with visible faces, and transitions between terrain types like grass, dirt and water. Each perspective implies a different set of required tiles, and planning that set is the first step in any pixel art game development environment pipeline.
Plan the tile set before drawing it
Write down every terrain and structure the levels need, and for each one list how it meets the others. A grass platform touching empty air, touching a stone wall and sitting on water are three different joins, and each needs tiles.
- Terrains: the materials that fill areas (grass, stone, sand, metal).
- Transitions: where one terrain meets another or meets empty space.
- Structures: one-off pieces like doors, ladders, pipes and signs.
- Special collision: slopes, one-way platforms, ladders, hazards.
- Decoration: grass tufts, cracks, moss, props that sit on top without affecting collision.
Autotiling layouts compared
Autotiling lets the engine choose the right edge or corner tile based on neighbours, so designers paint terrain and the borders appear automatically. Both Godot (through terrain sets on TileMapLayer) and Unity (through Rule Tiles in the 2D Tilemap Extras package) support it. The main decision is how many neighbour cases your tileset handles.
| Layout | Unique tiles | What it handles | Good for |
|---|---|---|---|
| Sides only | 16 | Edges based on the four direct neighbours | Simple blocky terrain, prototypes |
| Corners only | 16 | Shapes based on the four corners of each tile | Smooth terrain transitions, top-down ground |
| Corners and sides ("blob") | 47 | All eight neighbours, including inner corners | Detailed platformer terrain with clean inner corners |
| Dual grid | 16 per terrain pair | A display layer offset by half a tile from the logic grid | Fewer drawn tiles with smooth corners |
The 47-tile blob layout gives the cleanest results for platformers but is a lot of drawing per terrain. Corner-based and dual-grid layouts cut the count and work especially well for top-down ground. Pick one approach for the whole project so designers learn one set of rules.
Drawing tiles that join cleanly
Tiles are judged where they meet. A single tile can look great on its own and still produce visible seams across a level.
- Draw a large patch first. Paint a 3×3 or 4×4 area of terrain as one image, then cut it into tiles. This gives natural texture flow across edges.
- Test the repeat. Lay the centre tile out across a whole screen. Any distinctive mark (a bright pebble, a crack) will form an obvious pattern. Move such details into variants.
- Keep light direction consistent. All tiles should share one light direction so edges and corners agree.
- Make outer edges readable. The top edge of walkable ground needs a clear lip or highlight so players see where they can stand.
- Check inner corners. These are where autotiling usually looks wrong. Draw them deliberately.
Variation without repetition
Repetition makes tile-based worlds look artificial. You can break it up without drawing hundreds of tiles.
- Random variants: two to four versions of the centre fill tile, chosen randomly or by weighted probability. Both major engines support random or weighted tile selection.
- Decoration layer: grass, rubble, vines and cracks placed on a separate layer above the terrain, with no collision.
- Large props: trees, statues, machinery and buildings drawn as larger sprites instead of tiles, which breaks the grid silhouette.
- Background layers: parallax layers with lower contrast give depth and make the gameplay layer stand out.
Readability and collision
Players must instantly tell what is solid, what is a hazard and what is background. This is a design problem more than an art one.
- Keep the gameplay layer highest in contrast and saturation, with backgrounds darker, lighter or desaturated relative to it.
- Give one-way platforms a distinct look, such as a thin top with visible supports.
- Draw hazards like spikes or lava with colors reserved for danger. Our guide to pixel art color palettes for games covers how to reserve those colors.
- Match collision shapes to the art. If the visual edge of a slope does not match its collision, players feel it immediately.
Getting tiles into the engine
Most tile problems in the running game come from import and atlas settings rather than the art.
- Nearest filtering and no mipmaps on every tileset texture.
- Padding or extrusion between tiles in the atlas, so the GPU never samples a neighbouring tile and shows a thin line at the seam.
- A snapped camera. Sub-pixel camera positions can open gaps between tiles. See how to keep pixel art crisp for camera setup.
- Custom data per tile. Store surface type (for footstep sounds), friction for ice, or damage for hazards as tile metadata instead of separate objects.
- Source files kept separate from exported atlases, so tiles can be edited and re-exported without breaking tile IDs used in existing levels.
Tileset checklist
- Tile size and grid match the agreed base resolution.
- Every terrain has a full set of edges, outer corners and inner corners for the chosen autotile layout.
- Every terrain pair that touches in the levels has transition tiles.
- Centre tiles have variants, and no distinctive detail repeats in an obvious pattern.
- Walkable edges, hazards and one-way platforms are clearly distinguishable.
- Collision shapes match the art, including slopes.
- Atlas has padding or extrusion and imports with nearest filtering.
- Tested by building a full level, not only a test room.
When to work with a studio
Tilesets are where an art pipeline and a level design pipeline meet, and inconsistencies there spread across every level. If you want environments, tilesets and the game built by one team, our pixel art game development services cover the full process. A typical paxl.co project takes 3–4 months from kickoff to launch, and environment rules like tile size and autotile layout are set during a short paid discovery sprint at the start.
FAQ
What size should pixel art tiles be?
16×16 is the most common choice because it balances detail with drawing speed and pairs well with base resolutions like 320×180. 8×8 suits very retro styles, and 32×32 suits games with a larger base resolution and more detailed environments.
What is a 47-tile blob tileset?
It is an autotiling layout that checks all eight neighbours of a tile, including diagonals, and reduces the possible combinations to 47 unique tiles. It produces clean outer and inner corners but requires more drawing per terrain than simpler layouts.
How do I stop lines appearing between tiles?
Turn off texture filtering and mipmaps, add padding or extruded edges between tiles in the atlas, and make sure the camera is snapped to whole pixels. Lines usually come from the GPU sampling a neighbouring tile at fractional positions.