Breakout

alt text

A Breakout/Arkanoid clone made entirely in assembly for the original Game Boy.

The game runs at full speed (60 FPS) with only 25-33% CPU load and can be played on an actual Game Boy.

It draws the bricks on the background tiles to work around the sprite count limitation, and keeps a separate copy of the background tiles in lower RAM to avoid having to wait for VRAM when reading brick data for collisions. It only checks for collisions if the ball is close enough to a brick to actually hit it, to free up CPU time.

It features:

The game uses some sprite code I found online. It requires an accurate emulator to run correctly on a PC; the excellent bgb emulator is included in the download for this reason.

Download binaries + emulator