Cover of Starbraze II, Amiga Assembly: the white STARBRAZE 2 logo on dark navy, Build a full game in orange, a rainbow A Assembly badge, and a wide screenshot of the ship flying through a rocky canyon at dusk among Varkon fighters.
AmigaOn Amazon

Amiga Game Manual Series · Volume 1

Starbraze II

Amiga Assembly: Build a Complete Space Shooter in 68000 Assembly for the Amiga 500

Build a full game

by Eric A. Norton, Rohan A. Banerjee and Jorah Sallow

Build a complete Amiga game in 68000 assembly, one playable step at a time

Three prototype starfighters take off against the Varkon fleet: on the planet, the Canyons and the Shield Generators; in deep space, the Graveyard of Helios and the Bloody Orbit; in the station, Varkon-Omega and the Core, with a boss at the end of each level and an escape against the clock. Starbraze II is the side-scrolling space shooter of the C64 Game Manual Series, with the same rules, levels and bosses and its graphics and sound made again for the Amiga 500. This book shows you how to build it, following the 68000 assembly code step by step, from the first frame to the final boss.

You work with scrolling, hardware sprites, collision detection and sample-based audio, and with the chips that made the Amiga: the Copper to change colours as the screen draws, the Blitter to draw the enemies, Paula to play the samples. The game boots from its own disk and takes the whole machine. It is written for a PAL Amiga 500 with the original chipset (OCS) and 512 KB of chip memory.

The complete game is yours. The companion repository holds the full source code under the MIT licence: the finished game, the ten steps of the book, 30 ready-made experiments, the tests and the tools, with a script that builds everything again and compares it byte for byte. The game is also there ready to play, as an ADF disk image.

All you need is free software: the vasm assembler, built from its source, the FS-UAE emulator and Python with numpy. No Kickstart ROM is needed: the game runs with AROS’s ROM, a free replacement that comes with FS-UAE.

Starbraze II is the first volume of the Amiga Game Manual Series, where every book stands alone and brings an original game to life. The same game for the Commodore 64 is volume 4 of the C64 Game Manual Series.

Inside the book

  • Six levels in three phases, from the Canyons of the planet to the Core of the station Varkon-Omega, then the escape against the clock
  • Scrolling on two playfields, hardware sprites and collision detection in 68000 assembly
  • The Copper changing colours as the screen draws, the Blitter drawing the enemies and Paula playing samples
  • Music played by an orchestra of samples with the game’s own player, in MUSIC, MUSIC + FX, SOUND FX or SILENT
  • Three ships, the Redux, the Phantom Wing and the Titan Dread, and capsules that raise the weapons
  • Six bosses, the Siege Crawler, the Shield Core, the Graveyard Warden, the Varkon Corvette, the Defense Turret Array and the Super-Computer Varkon
  • A boot block of its own, a game that takes the whole machine and gives it back to the system only to read the disk
  • 32 chapters, 30 experiments and a glossary of 107 terms

What makes this book different

  • Ten playable steps

    The game grows in ten steps, from the first frame to the final boss. Each is a complete program on its own disk, cut from the finished game, and its SHA-256 fingerprint tells you that you built exactly the program in the book.

  • Make it yours, then break it

    20 guided experiments change speeds, weapons, bosses and music, with safe values and the way back; 10 “Where it breaks” versions make classic mistakes on purpose and explain them.

  • The whole chipset at work

    The Copper changes colours as the screen draws, the Blitter draws the enemies, hardware sprites carry the ships and Paula plays the samples.

  • Checked frame by frame

    Automated tests fly the game in FS-UAE and compare it at every stop with a model written in Python, the state, Paula’s registers and the picture, pixel by pixel.

The game in this book

The game you build

Amiga

Starbraze II

Starbraze II for the Amiga 500, in 68000 assembly. The side-scrolling shooter of the Varkon war, with three ships and six bosses, Copper colours, enemies drawn by the Blitter and Paula's samples.

From Starbraze II

Contents

32 chapters

Code for every chapter →

Thirty-two chapters, ten steps

  1. 01Your workshop
  2. 02The 68000 at a glance
  3. 03Taking the machine
  4. 04A level from the disk
  5. 05The canyons
  6. 06The ship
  7. 07The HUD and the choice
  8. 08Bobs
  9. 09The Varkon
  10. 10Weapons
  11. 11Hits
  12. 12The score
  13. 13Paula and the effects
  14. 14The orchestra's player
  15. 15Banks, packing and the modes
  16. 16The boss engine
  17. 17The SIEGE CRAWLER
  18. 18STAGE CLEAR
  19. 19Level 2: towers, fields, beams
  20. 20The SHIELD CORE
  21. 21Phase 2's Varkon
  22. 22The GRAVEYARD WARDEN
  23. 23The VARKON CORVETTE
  24. 24The station
  25. 25The DEFENSE TURRET ARRAY
  26. 26The SUPER-COMPUTER, its rings
  27. 27The SUPER-COMPUTER, its turrets and core
  28. 28The escape
  29. 29The title
  30. 30The states
  31. 31Reading and checking the game
  32. 32Glossary and index

Errata

Corrections

No errors have been reported for this edition yet.

Found a mistake? Open an issue on GitHub or write to [email protected], with the page number and what it should say.