Starbraze · the code
Every step of the game
The sources and the programs, in folders named exactly as the book names them. The licence of this code has not been chosen yet: see the repository.
Build and play
You need 64tass (assembler), VICE (emulator (x64sc)) and Python 3 (optional build helper). Open a terminal in the folder and type:
python build.py
python build.py 03-player-fire
python build.py --playCheck everything
From the top folder of the full download, this assembles every source again and compares the result with the reference bytes:
python build.py --all --check-release- Without Python, from Starbraze/11-restart: 64tass --cbm-prg -Wall --vice-labels -l build/starbraze.lbl -L build/starbraze.lst -o build/starbraze.prg src/main.asm
- Use PAL mode and a joystick in port 2. On the menu: up = music, right = sound effects, down = silent; press and release Fire to start.
- Every milestone folder has its own complete src/ tree, and the matching compiled program is in releases/<folder>/starbraze.prg.
Chapter by chapter
| Ch. | Title | Folder | Download |
|---|---|---|---|
| 1 | Your C64 workshop | Starbraze/01-first-screen/ | |
| 2 | Building the first scene | Starbraze/01-first-screen/ | |
| 3 | Taking the controls | Starbraze/02-player-movement/ | |
| 4 | Firing the first shots | Starbraze/03-player-fire/ | |
| 5 | Bringing in the first patrol | Starbraze/04-enemy-patrol/ | |
| 6 | Making shots hit their targets | Starbraze/05-shot-collisions/ | |
| 7 | Making every hit count | Starbraze/06-score/ | |
| 8 | Giving the pilot three lives | Starbraze/07-player-lives/ | |
| 9 | Surviving three patrol waves | Starbraze/08-waves/ | |
| 10 | Defeating the Helios Guardian | Starbraze/09-boss/ | |
| 11 | Adding music and sound effects | Starbraze/10-audio/ | |
| 12 | Restarting the mission | Starbraze/11-restart/ | |
| 13 | Reading and checking the game | Starbraze/11-restart/ | |
| 14 | Glossary and technical index | — | |
| 15 | From complete to compelling | — |