Build a complete Atari 2600 dungeon adventure
Scalecrown is the first volume of the Atari 2600 Game Manual Series, where every book is independent and brings a new original game to life.
Beneath the ruins of Oakhaven lies the Crypt of Scales, and in its depths the Scalecrown, a relic of dark magic that bends every reptile in the land to its will. Sir Roderick, a wandering knight with a steel sword and an oak shield, goes down to destroy it before the curse smothers the kingdom. On the throne, the Serpent King is waiting.
The game is sixteen rooms on four levels, each narrower and more dangerous than the last: spikes that rise and fall in the floor, a key in a chest on every level and the door it opens, serpents that give chase and come back, and in the throne room the Serpent King, whose venom only the shield can stop. Break the crown, and the curse breaks with it.
The book builds the game in nine playable steps, from the first room to the finished cartridge, with 27 experiments along the way: 18 guided changes and 9 “Where it breaks” versions that make a classic mistake on purpose. The complete source code, every step and the cartridges for NTSC and PAL televisions are free on GitHub under the MIT licence, and every listing in the book is part of a file there, line for line.
Story and characters by Rohan A. Banerjee.
Inside the book
- 6502 assembly, TIA kernels and cycle budgets
- Sprites, playfields, movement and collisions
- Four dungeon levels, keys, doors and timed traps
- Sword combat, enemy behaviour and the final boss
- TIA music, sound effects and game states
- 32K F4SC banking, Superchip RAM, NTSC and PAL