01 · The lander
The flames are sprites of their own
The lander is sprite 1. The main flame is sprite 2 and a side jet is sprite 3, and
place_sprites ($E3F9) puts all three at the same position, so the flames
are stacked on the hull rather than placed beside it. A flame's sprite is switched on only while its
thruster is held. The main flame swaps between shapes $F8 and $F9 on every
pass of the game, about 29 times a second, and that swap is the flicker.
Sprite 1 is cyan, sprite 2 red and sprite 3 orange, and the lowest
number is in front. A pushes the lander right and D pushes it left: each key names the jet that
fires, $FA on the left or $FB on the right, and when both are held D wins.
In a close-up, close_view_sprites ($E3A1) writes $0E to
$D017 and $D01D, which doubles sprites 1 to 3 both ways; that is all the
zoom does to the lander. Shapes $FC to $FF are empty.
02 · The explosion
The lander turns into its own fireball
Hitting rock does not swap the ship for a picture of an explosion.
explode ($E44B) switches the flames off and adds one to sprite 1's pointer
seven times, from the lander at $F0 to $F7. Between pictures,
flash_explosion_colour ($E4F3) moves the sprite's colour on by two, four
times, three delay units apart. Each picture shows four colours, and the fireball runs through the
eight odd-numbered colours of the palette. A colour lasts about 33 ms and a picture about
131 ms, so the explosion is over in 0.92 seconds. Then the screen stays empty for 200 delay units,
about two seconds, before the next lander.
The lander is shown for a moment before each explosion, and most of the empty pause after it is left out.