The Game Dev Atlas, Act I, The Pixel Art Island: an engraved map of an island whose towns are the techniques of pixel art for games.
Unrolling the map...
by Sprite Fusion

Environment · Act I

Pixel art loop. A bakery floor covered in flour at night. Boot prints appear one after another with nobody there. A small map slides in, with a white mark for each print. In the moonlight the walker shows: a ghost in a baker's hat. The oldest prints fill in again.
Act I, fig. 10 A bakery at night. Prints appear in the flour with nobody there, until the moonlight shows who walks.

Another details tip for a surface with something on it: Give the ground a hidden second picture, the trail map. Whatever touches the ground stamps the map, and the ground reads it as it is drawn. Each frame the map fades a little: the snow settling back.

Add a trail map to my ground: everything that walks on it stamps the map, and the ground reads it.
Read the whole brief
Make my [snow] remember what crossed it, with a trail map.

- Keep an off-screen picture the size of [the play area], one value per ground pixel. That is the trail map.
- Stamp: whatever touches the ground draws its shape into the map. [A boot print per step, a line behind a sled.]
- Read: the ground looks the map up as it is drawn. Marked is bare, a pixel beside a mark is a ridge of pushed [snow], the rest is cover.
- Settle: every frame the whole map loses a little, so marks fill in again after [6] s.
- Stamp deeper than the ground reads. A mark then stays whole and fades only at its end: one number sets how long marks last.
- Fade through an ordered dither, in quarters. No opacity.
- The map covers a set area: [scroll it with the camera].

Change what stands in [brackets] to fit your game.

  1. Soft ground: snow, sand, mud, tall grass, dust.
  2. Tracks that are gameplay information: following a monster, or hiding from one.

Not forA world larger than the map, unless the map scrolls with the camera: what leaves it is forgotten.

Unity's manual builds a self-healing trail map for snow and sand.[1] A tutorial for Unreal Engine keeps a gray mask where white is a trail.[2] In 2D, jess::codes draws a boat's wake from one.[3] The ridge and the figure are this atlas's own.

  1. Custom Render Texture example, Unity manual
  2. Tommy Tran, Creating snow trails in Unreal Engine 4, Kodeco, 2018
  3. jess::codes, 2D pixel water shader for Godot, GitHub