SHOP

PLAY

CREATE

1

Creating the Video Game Map and Tileset

Min. Age: 7+ Mother and son; age icon Duration: 20 min. Mother and son; age icon

Video Example:

What is a tileset?

A tileset is like a set of small pictures, such as floors, walls, or trees, that you can use to build a game world. It’s like using different puzzle pieces to create a bigger picture in your game!

1

Download and Install Tiled

1

Go to mapeditor.org and download Tiled for free.

2

Install the program on your computer.

2

Find and Download a Tileset

You need a tileset to design your map. You can find tilesets from websites like:

Search example: "2d tileset"

You can download the Tileset we are using in this tutorial here: Tileset (by: various artists)

Tileset sample

Make sure to check the license of the tileset and give credit to the artist!

3

Open the downloaded tileset in Tiled

1

Open Tiled.

2

Go to File > New > New Tileset.

Tiled File > New > New Tileset
3

Name your tileset.

Select the tileset file you downloaded earlier.

For this tutorial, we’ll use 32x32 pixels as the tiles' size.

Save your tileset.

Importing a tileset with tiled
4

Now you’ll see your tileset appear on the screen

Tileset view in Tiled
4

Designing your map

1

In Tiled, Go to File > New > New Map.

Tiled File > New > New Map
2

For this tutorial, let’s make a small map that’s 5x5 tiles.

Tiled Creating new map properties
3

You’ll see a blank grid in the center of your screen where we’ll place tiles: It is the Map Grid.

On the bottom right, you’ll find the tileset you just created.

To add tiles to your map, click on the tile from the tileset, then click on the grid where you want to place it.

Tiled map creation views: map view, tileset view, layers' view
5

Using Layers to Add Detail

Tiled has a feature called layers, which lets you stack tiles on top of each other for more detail. For example:

You can add a wall tile in one layer and place a candle on top of it in another layer.

Tiled layers' view
Renaming layer in Tiled
Candle tile over a wall tile in Tiled
6

Create a Custom Tileset for Your Game

When loading the map in our video game, we don't want to load hundreds of tiles we are not going to use. This is the reason why we are going to create a smaller tileset containing only the tiles we need for our game.

For our map, we only used Walls, Shallow water, Green carpet floor, Sand and Red floor.

1

Create a new map that is 1x5 tiles.

Tiled File > New > New Map
New Tiled map 5x1
2

Stamp the following five tiles from your existing tileset:

  • Walls
  • Shallow water
  • Green carpet floor
  • Sand
  • Red floor
New Tiled map 5x1 stamped
3

Save this tileset and export it as a PNG file. This smaller, custom tileset will be used in our game.

Export Tiled map as PNG image

You can download the tileset just created here.

5 tiles dungeon tileset

You’ve now designed a simple game map and created a custom tileset using Tiled. Now you are ready to use it in your video game!