Game dev
Saved & recent

Tilemap

Related terms: tile, tileset

A 2D level built from a grid of small reusable images called tiles. The level is stored as a grid of numbers. Each number is an index into a tileset, an atlas of all the tiles.

A large level then costs very little memory, and editing it is like painting on graph paper.

Further reading
Godot Engine: Using TileSets
0 1 2 tileset 0 0 0 0 1 0 0 0 2 2 0 1 0 0 2 2 2 0 1 1 1 0 2 0 0 0 0 1 0 0 0 0 0 0 1 stored indices rendered level water tile
Each of the 35 cells stores an index into the three-tile tileset. Both blue outlines mark the same cell, whose index selects water.

View in the full Game dev collection