A tileset is a collection of small square images that snap together on a grid to build a game world. When it's done well, the grid disappears: players see a meadow, not a field of 16×16 squares. This guide covers how to get there, from seamless tiles and variation to terrain edges and autotiling, and how to bring the result into a map editor or game engine.
Updated November 2026 · 10 min read
The short version. Pick one tile size (16×16 is the classic) and stick to it. Make the base tile seamless by viewing it repeated and fixing seams with a half-tile offset. Keep base tiles quiet, then add a few variants and decorations to hide the repetition. For edges between two terrains, draw the 13-tile set — or all 16 corner tiles if you'll use autotiling. Export one PNG at 1× and slice it by tile size.
Tiles, tilesets and tilemaps
A tile is one square image, such as 16×16 pixels of grass.
A tileset is every tile for an area, laid out on a grid in one image.
A tilemap is a level built by placing tiles from the tileset on a grid. The game only stores which tile goes in each cell, so a huge world costs very little memory and is quick to edit.
1. Choose a tile size
Decide the tile size before you draw anything else. Characters, doors, platforms and jump heights are all measured against it, so changing it later means redrawing nearly everything.
Tile size
Typical look
Trade-off
8×8
Very retro, fantasy consoles
Fast to make; little room for texture
16×16
Classic 8- and 16-bit RPGs and platformers
The most common choice, and a good default
32×32
Detailed modern pixel games
Four times the pixels per tile, so roughly four times the work
48×48+
Painterly, close to illustration
Beautiful but slow; hard to keep consistent
In top-down games a character is usually about one tile wide and one to two tiles tall. In platformers the player is typically one to two tiles tall, and gaps and ledges are designed in whole tiles. Whatever you choose, draw tiles and sprites at the same pixel scale — see how to make pixel art for why mixing pixel sizes looks wrong.
2. Make the base tile seamless
A tile is seamless when its right edge continues into its left edge and its bottom edge into its top, so copies placed side by side show no border. Two habits break that. The first is texture that simply stops at the edge of the tile. The second is shading the tile like an object, lighter along one side and darker along the other, which turns every copy into a little box.
Shaded like a box, tufts cut off at the edges
Seamless
The same 16×16 tile, repeated four across and three down. Never judge a tile on its own: always look at it repeated.
Fix seams with the offset trick
The seams of a tile are hard to see because they're on its border. Move them to the middle and they're easy to fix:
Draw the tile.
Offset it by half its width and half its height with wrap-around, so pixels pushed off one side come back on the other. The old edges now meet in a cross through the middle, and the new outer edges already join up perfectly.
Paint over the cross until it blends in, without touching the outer edge.
Check it repeated again. You can offset it back, but you don't have to: it's the same pattern either way.
1. The tile
2. Offset by half
3. Seams painted out
After the offset, the dark and light borders and the cut-off tufts all sit on the dashed cross, where they're easy to repaint.
Photoshop (Filter › Other › Offset) and GIMP (Layer › Transform › Offset) can do the wrap-around shift for you, and many pixel editors have a tiled preview mode that repeats the canvas as you draw.
In PixeMaker: there's no wrap-around command yet, but a 2×2 block does the same job. Make the canvas 32×32 with Image › Canvas size, anchored top left. Select the tile, copy it, then paste three times, dragging each copy into one of the empty quarters. The 16×16 square in the middle, starting at 8,8, is your tile offset by half: select it and choose Image › Crop to selection. On a computer, the x, y readout in the corner of the canvas area helps you line things up. The 2×2 block is also a quick way to check the seams of any tile.
3. Hide the repetition
Even a perfectly seamless tile becomes a pattern when it's repeated across a whole screen. The eye is very good at spotting anything that recurs every 16 pixels, so the goal is to give it nothing regular to latch on to.
Keep the base tile quiet. Use low contrast and small details spread evenly. One bright flower in the base tile turns into polka dots across the map.
Make two to four variants. Change only the middle of the tile and keep the edge pixels identical, so any variant can sit next to any other.
Scatter decorations sparingly and unevenly. Flowers, stones and tall grass work best in small clusters with empty space between them, not sprinkled at even intervals.
Add larger features. Paths, ponds, trees and buildings that span several tiles break up big areas more than any amount of texture.
Three variants and three decorations · every one has the same edge pixels
One busy tile, repeated
Quiet variants, a few decorations
Both maps are ten tiles by three. In the top one your eye finds the grid at once; in the bottom one there's no regular feature to give it away.
4. Draw the terrain edges
Where grass meets dirt, or sand meets water, you need tiles for every way an edge can pass through a tile: straight edges, outer corners and inner corners. The easiest way to think about it is to look at a tile's four corners and ask which terrain each one is.
The 13-tile set is a 3×3 block — the centre, four edges and four outer corners — for the outside of a shape, plus four inner corners for when the edge turns inward. With the plain dirt tile, it covers most shapes you'll paint by hand.
The 16-tile corner set has every combination of the four corners being grass or dirt: 2 × 2 × 2 × 2 = 16. That's the 13 tiles, the plain dirt tile and two diagonal tiles where the grass only touches at opposite corners. With all 16, any shape has a tile.
13 tiles: outside edges and inner corners
16 tiles: every corner combination
Small gaps separate the tiles. The 16-tile set is laid out so that every tile matches its neighbours, which makes mistakes easy to spot.
A map painted with the set
Every grass edge here comes from the tiles above, and the plain grass cells use the variants from the previous section. Because they share edge pixels, the variants fit next to the edge tiles too.
Some tips for drawing them:
Draw the shape, then cut it into tiles. Paint the whole 3×3 block (and the inner corners) on one larger canvas as a single island, rather than drawing 13 separate squares.
Cross every tile border at the same point. Here the edge always crosses a border at its midpoint, so any two tiles that should join, do.
Give the edge depth. In the example, grass is a low ledge above the dirt: its rim catches the light on the top and left, and it casts a dark shadow onto the dirt below and to the right, matching a top-left light.
Test on a real map early. Paint a small test area with blobs, holes and narrow strips before you polish anything.
5. Let autotiling pick the tiles
Placing edge tiles by hand gets slow. Map editors and engines can do it for you: you tell them which corners or sides of each tile are which terrain, then paint with a terrain brush and they choose the right tile for every cell. There are three common kinds of set:
Set
Tiles
How a tile is chosen
Good for
3×3 + inner
13
By hand (it's a subset of the corner set)
Simple maps, quick prototypes
Corner set
16
Each corner of the tile is one terrain or the other
Organic ground: grass, dirt, sand, water
Blob set
47
Its four sides and four corners
Walls, paths and platforms that need one-tile-wide pieces and dead ends
Godot 4 calls these terrain modes Match Corners and Match Corners and Sides; Tiled calls them Corner sets and Mixed sets; in Unity you get the same behaviour from a Rule Tile, part of the 2D Tilemap Extras package. Start with the 16-tile corner set: it's small and covers natural terrain well. Move to a blob set when you need thin walls or single-tile islands.
6. Top-down and side-view tiles
Everything above applies to both views, with a few differences:
Top-down ground is seen from above, so edges look the same from every side apart from the lighting. Cliffs and walls show a front face that's usually one or two tiles tall, and the front face gets the darkest shades.
Side-view ground has a top surface, a solid fill and sides. The top row deserves the most detail because the player walks on it. Keep the walkable surface on the tile's top edge: grass tufts can poke above it as decoration, as long as collision uses the tile grid rather than the art.
7. Lay out and export the tileset
One PNG at 1×, with tiles on an exact grid and transparency wherever a tile shouldn't cover what's underneath (decorations, for example).
Group related tiles. Keep each terrain's block together and put variants next to their base tile. Leave empty cells for tiles you'll add later.
Don't rearrange it once maps use it. Map editors store a map as tile positions or numbers, so moving a tile in the image breaks every map that uses it. Add new tiles in empty cells or at the end.
Name it with the tile size, for example meadow_16x16.png.
The texture-bleeding advice from the sprite sheet guide applies here too: if thin lines flicker between tiles as the camera moves, use nearest-neighbour filtering, keep the camera on whole pixels, or add padding around each tile.
In PixeMaker: draw the tileset on a canvas that's a whole number of tiles in each direction, for example 64×64 for a 4×4 block of 16×16 tiles. Export → PNG at 1× writes exactly those pixels. If you'd rather draw loose tiles one at a time, put each one in its own frame on a 16×16 canvas and use Export → Sheet with the grid layout to pack them into one image.
8. Import it into a map editor or engine
Tiled
Choose File › New › New Tileset, pick Based on Tileset Image, select the PNG and enter the tile width and height. Leave margin and spacing at 0 unless you added gaps.
For autotiling, open the tileset, add a terrain set of type Corner Set, add your terrains and mark which corners of each tile belong to which terrain. Then paint on the map with the Terrain Brush.
Godot 4
In Project Settings → Rendering → Textures, set Default Texture Filter to Nearest.
Add a TileMapLayer node, create a new TileSet in its Tile Set property and set the tile size, for example 16×16.
Open the TileSet panel at the bottom of the editor, drag the PNG into it and let Godot create the tiles automatically.
For autotiling, add a terrain set to the TileSet (mode Match Corners for a 16-tile set) with a terrain in it. In the TileSet panel's Paint mode, choose Terrains and mark each tile's corners. Then paint from the Terrains tab of the TileMap panel.
Unity
Select the PNG and set Texture Type to Sprite (2D and UI), Sprite Mode to Multiple, Pixels Per Unit to your tile size, Filter Mode to Point (no filter) and Compression to None. Slice it in the Sprite Editor with Grid By Cell Size.
Create a tilemap with GameObject › 2D Object › Tilemap › Rectangular, open Window › 2D › Tile Palette, create a palette and drag the sliced sprites into it. Unity makes a tile asset for each one.
For autotiling, install the 2D Tilemap Extras package and create a Rule Tile.
Common tileset mistakes
Judging a tile on its own instead of repeated.
Shading each tile like an object, so every copy looks like a box.
A standout detail in the base tile, repeated across the whole map.
Variants with different edge pixels, so they don't fit together.
Edges that cross tile borders at different points, so transitions don't line up.
Tiles and characters drawn at different pixel scales.
Rearranging the tileset image after maps already use it.
Frequently asked questions
What size should pixel art tiles be?
16×16 is the most common size and a good default. Use 32×32 for more detail, at the cost of four times as many pixels per tile. Choose the size before you draw anything else and size your characters relative to it.
How do I make a seamless tile?
Draw the tile, then offset it by half its width and height with wrap-around, so its old edges meet in a cross in the middle. Paint over the cross until it blends, then check the tile repeated in a 2×2 or 3×3 block.
How many tiles do I need for terrain transitions?
13 for a basic set: a 3×3 block of centre, edges and outer corners plus four inner corners. 16 for a full corner set that autotiles any shape, or 47 for a blob set that also handles one-tile-wide paths and single tiles.
How do I stop a tilemap looking repetitive?
Keep the base tile quiet and low in contrast, make two to four variants that share the same edge pixels, scatter decoration tiles unevenly, and break up large areas with features that span several tiles.
Why are there thin lines between my tiles in the game?
That's texture bleeding: the GPU samples pixels from the neighbouring tile in the tileset. Use nearest-neighbour filtering, keep the camera at whole-pixel positions, or add padding or extruded edges around each tile.