Bases every 256 columns (flat ground, water tower, H pad); the game starts
on one and the tank refills only when landed on a pad. The status bar shows
the direction and distance to the nearest base. Terrain tables move to
$6000/$7000 and $A800 (BASIC ROM banked out) to make room. Enemy spawns are
sparser (SPAWN_GAP 70, at most 4 at once).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cc65 C game logic over a ca65 engine (PAL):
- three-layer parallax (clouds, mountains, hills) with per-band $D016
splits; band shifts and sub-pixel layer stepping in scroll.s
- one raster IRQ scheduler (mux.s) driving the band splits and a sprite
multiplexer: 8 hazards + water spray on hardware sprites 3-7
- hazards (birds, balloons, jets) and tree fires in hazards.s; spray
water to put fires out, tank refills on landing, burnt trees persist
- terrain from height maps built at startup; columns built ahead and
background jobs scheduled by raster budget
- tools/gen_gfx.py generates all sprites and tiles (src/gfx.h, gfx.inc)
The self-test checks terrain, scrolling, the multiplexer and fire logic,
then flies 1000 demo frames, failing on any late frame, missed raster
split or scroll position jump.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>