# Tilemap

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

**Field:** Software Development  
**Category:** Game Development  
**Also known as:** Tile Map, Tileset, Tile-Based Map

## Think of it like

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

## 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.

## 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.

## Common mistake

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

## Three principles

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

## Related terms

- [Game Sprite](https://learn.benibix.com/term/development/sprite)
- [Game Scene](https://learn.benibix.com/term/development/game-scene)
- [Pathfinding](https://learn.benibix.com/term/development/pathfinding)
- [Collision Detection](https://learn.benibix.com/term/development/collision-detection)

![Two panels. On the left, a sprite sheet called run.png holds four frames of a stick figure running, with frame 1 lit up, and a note says each frame is one sprite and shown one after another the hero runs. On the right, a tilemap is a grid of numbers: a top row of 0s, a middle row with two 2s, and a bottom row of 1s picked out. A key says 0 is sky, 1 is ground and 2 is brick, and a few small tiles used again and again draw a whole level.](https://learn.benibix.com/diagrams/dev2-sprites.svg)

---

Source: https://learn.benibix.com/term/development/tilemap
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
