Skip to content

Tileset Extruder

Thin lines between your tiles? Extrude the tileset: every tile gets a border of its own edge pixels, and the lines disappear in the engine. Your images never leave your device.

Made on your device. Your images are never uploaded.

  • Never uploaded
  • No more seams
  • Free, no sign-up

How it works

How to extrude a tileset

  1. Step 1: Add your tileset

    Choose, drop or paste the sheet. The tile size is guessed; correct it if your tiles are another size.

  2. Step 2: Set the extrusion

    1 pixel suits most games. Click a tile and choose Tile it to see whether its edges meet.

  3. Step 3: Download and import

    Save the PNG and type the tile size, margin and spacing shown beside it into your engine.

Tileset Extruder

Tiles that meet without a line

  • Edges repeated outwards

    Every tile gets a border of its own edge pixels, so the engine never samples the tile next door.

  • Tiled preview

    See any tile repeated three by three, with or without lines at its edges, to catch seams in the art itself.

  • Numbers for your engine

    The new margin and spacing are worked out for you, ready for Godot, Unity, Tiled or Phaser.

  • Never uploaded

    Everything happens in your browser, so your pictures stay on your device.

In detail

Why tiles show lines, and how extruding fixes it

Why lines appear between tiles

A tile map draws each tile from a small rectangle of one big texture. When the camera moves by a fraction of a pixel, or the map is scaled or filtered, the engine reads a hair outside that rectangle and picks up a sliver of the neighbouring tile. On screen that sliver is a thin line that flickers as you move.

Extruding puts a border around every tile that repeats the tile’s own edge pixels. Whatever the engine reads just outside the tile is now the same colour as the tile’s edge, so there is nothing to see.

Using the extruded sheet

  • Godot: in the TileSet’s atlas settings, set Margins to the margin and Separation to the spacing shown here. The texture region size stays your tile size.
  • Unity: in the Sprite Editor, slice by cell size with Offset set to the margin and Padding set to the spacing.
  • Tiled: when you add the tileset, enter the same Margin and Spacing.
  • Phaser: pass the margin and the spacing as the last two arguments of addTilesetImage.

Checking the tiles themselves

Extruding fixes the lines that come from the engine. Lines that come from the art are another matter: a grass tile whose left edge does not match its right edge shows a seam however it is packed.

Click a tile and choose Tile it to see it repeated three by three, as a map would lay it. Turn on Show tile edges to see exactly where one copy ends and the next begins.

Tileset Extruder

Frequently asked questions

Are my images uploaded anywhere?

No. Everything runs in your browser, on your own device. Your images are never sent to Moriqa or anyone else, and nothing is kept after you close the page.

How many pixels should I extrude?

One pixel is enough for most 2D games. Use two or more if the texture uses mipmaps, if the camera zooms far out, or if lines still show.

Does extruding change my tiles?

No. The tiles keep their size and every pixel. Only the space around them changes, which is why the sheet gets larger and needs a margin and a spacing in the engine.

What is the extra gap for?

It adds clear pixels between the extruded tiles. Most engines do not need it; it helps when a tool expects empty space between tiles as well.

My tileset already has spacing. Can I use it?

Yes. Open The sheet you have and enter its margin and spacing. The tiles are read from there and laid out again with the extrusion.

How do I check whether a tile is seamless?

Click the tile, then choose Tile it. If the copies meet without a visible line, the tile repeats cleanly.

Drawing the tiles too?

Moriqa’s pixel art editor draws tiles and sprites on a pixel grid and exports them for your engine, free in your browser.