metro - README

metro

Python project · featured · pixel art, simulation

Lisbon metro sim in pixel art: watch the four lines run, step into any station, board a train and ride it.

The network map
The network map
Inside Alameda
Inside Alameda
Riding a train
Riding a train
The control room
The control room

The problem

I wanted a transit sim you could actually stand inside: not just coloured lines on a map, but platforms with people on them, trains you can board, and a city whose rush hour you can feel.

What I built

The hard part

Keeping the pixel art crisp at every zoom: the camera only zooms in whole-pixel steps and station names are drawn live on top at screen resolution. The nastier bug was colour: drawing onto a surface with an alpha channel picked up stray alpha from sprite blits and turned into coloured blocks on real display drivers, but never in the headless tests. Everything now draws onto a 24-bit surface.

Built with

More projects