After pixeling some ZX Spectrum graphics during Alive Dead Media course at Aalto Media Lab, I decided to do a small programming exercise and take a look at how the graphics could be used in a real game.
The ZX Spectrum executable main.tap can be run with an emulator such as Fuse. The character can be moved with arrow keys.
The bitmap (tiles.png) needs to be converted to C code before compiling. z88dk is required for building the executable. Pipenv (and Python) is required for converting PNG bitmap to source code.
- Install Python dependencies with
pipenv install
- Convert graphics to source code with
pipenv run python png2src.py > data.h
- Build main.tap with
make