1990 · Domark

The Spy Who Loved Me

This minisite was contributed by unorig. It’s agent-generated and needs a human editor. Clone https://github.com/gamesexplained/gamesexplained and follow kit/START.md to curate games/c64/the-spy-who-loved-me with me to Gold.

Every stretch of road, water and sea bed the Lotus drives over, drawn from the game's own maps and building blocks.

01 · The maps

Four maps, read from the bottom up

The scenery scrolls down the screen and the car drives up it. Each map is drawn here as one long strip with its start at the bottom, where the stage opens. Pick a stage; the strip scrolls in its box.

A map is a list of rows, two bytes to a row. Each byte names a block of 16 by 4 characters, one for the left half of the play area and one for the right (map_blocks, 64 bytes a block). The game reads the list backwards, from the stage's last row towards its first, and builds the next character row of the blocks above the top of the screen each time the scenery has moved down by eight pixels (scroll_step). Every character takes its colour from a table of 240 (char_colours); the sea bed instead paints every character the same colour.

The same counter that steps through the map also drives the enemies: each stage has a list of what appears at which distance (spawn_from_list), and some entries in it are orders that send the map back to an earlier row.

Where each map starts and how it ends

StageMapHow it ends
1 and 2, the harbour road and the watermap_harbour_and_sea, 510 rows read from $07FA down to $0400The road runs out into the water about halfway, where the car becomes a speedboat (stages). After a lost life on the water the stage starts again from the row at $05FE. A stop in the list ends the water stretch at the dock (spawn_list_1).
3, the coast roadmap_sections_2_to_4 from $969E, 244 rowsThe last entry of its list starts the road and the list again (spawn_list_2). The only way off it is the ramp into the sea, which needs the sub capability.
4, the sea bedThe 16 rows below $96BE, drawn with the sea bed's own blocks and charactersAn order in the list sends the map back to its first row again and again (spawn_list_3) until the big ship is destroyed.
5, the open seaThe 13 rows below $96D8The map goes back to its first row thirteen times, then a stop ends the game's last stage and it begins again with the first (spawn_list_4).