Build a complete Commodore 64 game in assembly, one playable step at a time
The Varkon fleet was slowed at Astra-7, not destroyed. The Earth Space Force is all but gone, and from the canyons of Varkonia Prime three prototype starfighters take off: past the shield generators, across the Graveyard of Helios and the Bloody Orbit, into the station Varkon-Omega and out before it blows up. Starbraze II is an original horizontal space shooter for the Commodore 64, and this book shows you how to build it, from the first canyon to the finished game with six bosses, music and an escape against the clock.
The complete game is yours. The companion repository holds the full source code under the MIT licence: the finished game, the seventeen steps of the book, 51 ready-made experiments, the tests and the tools, with a script that rebuilds every program byte for byte. The game is also there ready to play, as a 1541 disk image and as a PRG file.
All you need is a Windows PC and three free programs: the 64tass assembler, the VICE emulator and Python. The game is written for the PAL Commodore 64 and was tested in VICE. Every listing in the book is checked line for line against the source code, and the 53 screens of the game were captured in VICE, nothing drawn or retouched.
Starbraze II is the fourth volume of the C64 Game Manual Series, where every book stands alone and brings a new original game to life, and the sequel to Starbraze, the first. Choose your ship, pilot, and prove them both wrong.
Inside the book
- Smooth horizontal scrolling, a far layer at half speed and stars in parallax on three planes
- Three ships with their own speed, shield and four levels of weapons, a cone of plasma, a laser that flies through the enemy and a Gauss shot that bursts
- A sprite multiplexer that shows up to 24 objects on six sprites
- Waves of Varkon, turrets that aim, mines that burst, and capsules for weapons, speed, a missile, a satellite and a full shield
- Six bosses in characters and sprites, from the Siege Crawler to the Super-Computer Varkon behind three rings of plates
- Seven packed levels read from a 1541 disk when the game needs them
- Original SID music, three jingles and ten sound effects, in MUSIC, MUSIC + FX, SOUND FX or SILENT
- A title screen, the choice of ship, pause, GAME OVER, a session high score and a sixty-second escape
- 83 questions with answers, a glossary of 128 terms and an index