Skip to content

Make one part
work.

Draw a sprite. Read a controller. Give a game its sound.

The Pattern Library takes one technique at a time: the code, the machine it needs, and the trade-offs to understand before you adapt it.

Find a technique

Turn a number
into a signal.

Show health, heat or time remaining with a bar that changes as the value grows.

ZX Spectrum · BASIC · Beginner

Illustration of the 28-cell BASIC bar, from empty to full. Colours follow the listing; this is not an emulator capture.

Give the C64 a voice.

Set up a SID voice and get to know the registers behind a sound.

Commodore 64 · Assembly

Find your technique.

1038 patterns