Tilemaps

2D Game Design with Unity

🕑 This lesson will take about 20 minutes

A tile-based video game is a type of game where the playing area is made up of small square-shaped images called tiles that are laid out in a grid. The Tilemap component is a system that stores and handles the different tile assets for creating levels, worlds or scenes in a 2D game in Unity. Each tile can use a different graphic (for example, bricks for a wall, grass or ground texture, etc) and can be ‘painted’ onto a grid using the Tile Palette to create a scene very quickly. You can also create different tiles for the edges or corners of an object such as a wall.

Screenshot of the Tile Palette in Unity and a scene where tiles have been placed on a tilemap.

In this lesson, you will learn how to create a Tilemap in Unity and place tiles onto the tilemap to build walls, platforms and steps in a 2D scene. In the following lesson, you will learn how to add colliders to a tilemap.

Game art, tiles and sprites from the Free Pixel Space Platform pack are used in this lesson video and can be downloaded from the Unity Asset Store.

Is YouTube blocked at school? Watch on Google Drive.

Next lesson: Tilemap Colliders