Skip to content
BENIBIX Learn

Tilemap

Development🎮 Game Development2D Game Graphics

Also known as Tile Map, Tileset, Tile-Based Map

A 2D level built from small square tiles laid on a grid.

Think of it like

Think of it like a bathroom floor. A few kinds of tile, laid in a grid, cover the whole room.

Example

Emma paints a cave level in her engine. She uses just six kinds of rock tile.

Why it matters

Levels are quick to build and change. The game also knows which squares are walls.

Definition

A tilemap builds a 2D level from small square pictures, called tiles, laid on a grid. The map is just a table of numbers, one per square. Each number says which tile goes there, like grass, wall or water. A few dozen tiles can draw a huge world. Engines have editors where you paint tiles onto the grid.
The right panel: a tilemap is a grid of numbers that stand for tiles.

Common mistake

Making every tile look the same. Mixing in a few odd tiles hides the grid.

Key takeaways

  1. 1
    A grid of numbers. Each square holds a tile number.
  2. 2
    Reused tiles. A few tiles draw a big world.
  3. 3
    Painted, not drawn. Levels are painted in an editor.