How to make a pixel art tileset

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

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 sizeTypical lookTrade-off
8×8Very retro, fantasy consolesFast to make; little room for texture
16×16Classic 8- and 16-bit RPGs and platformersThe most common choice, and a good default
32×32Detailed modern pixel gamesFour times the pixels per tile, so roughly four times the work
48×48+Painterly, close to illustrationBeautiful 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.

A grass tile repeated four by three, with a light and a dark line along each tile edge so the grid is obvious.
Shaded like a box, tufts cut off at the edges
The same grass tile made seamless and repeated four by three, reading as one continuous lawn.
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:

  1. Draw the tile.
  2. 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.
  3. Paint over the cross until it blends in, without touching the outer edge.
  4. Check it repeated again. You can offset it back, but you don't have to: it's the same pattern either way.
A grass tile with a lighter top and left edge and a darker bottom and right edge.
1. The tile
The tile shifted by half, so its light and dark edges form a cross through the middle, marked with dashed lines.
2. Offset by half
The offset tile with the cross painted out, so the grass is even all over.
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.

Six grass tiles: three plain variants with different tufts in the middle, and three with flowers, a stone and tall grass.
Three variants and three decorations · every one has the same edge pixels
Ten by three grass tiles, each with the same flowers and stone in the same spot, forming an obvious grid.
One busy tile, repeated
Ten by three grass tiles mixing the three variants, with a few flowers, a stone and tall grass placed irregularly.
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.

A three by three block of tiles forming a grass island on dirt, next to a two by two block forming a dirt hole in grass.
13 tiles: outside edges and inner corners
Sixteen grass and dirt tiles in a four by four grid, arranged so that neighbouring tiles join up.
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 ten by five tile map: a dirt clearing with a grass island in the middle, surrounded by grass with a few flowers.
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:

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:

SetTilesHow a tile is chosenGood for
3×3 + inner13By hand (it's a subset of the corner set)Simple maps, quick prototypes
Corner set16Each corner of the tile is one terrain or the otherOrganic ground: grass, dirt, sand, water
Blob set47Its four sides and four cornersWalls, 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:

7. Lay out and export the tileset

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

  1. 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.
  2. 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

  1. In Project Settings → Rendering → Textures, set Default Texture Filter to Nearest.
  2. Add a TileMapLayer node, create a new TileSet in its Tile Set property and set the tile size, for example 16×16.
  3. Open the TileSet panel at the bottom of the editor, drag the PNG into it and let Godot create the tiles automatically.
  4. 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

  1. 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.
  2. 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.
  3. For autotiling, install the 2D Tilemap Extras package and create a Rule Tile.

Common tileset mistakes

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.

Try it in the editorFree, in your browser, nothing to install.

Open the editor