1988 · Electric Dreams (Activision)

R-Type

This minisite was curated by unorig.

Stage 1’s floor is its ceiling drawn upside down, and stage 3 is one whole battleship that the screen moves around. All eight stages, drawn from the game’s own data.

How a stage is stored

Scenery built from blocks as the screen scrolls

Each stage loads as three files. The second holds its character set, a colour for each character, and blocks of characters with a list that places them along the stage (build_map, $162F). The screen scrolls one pixel every second frame, so a new column of characters comes into view every 16 frames (scroll_side, $34FB).

The pictures below are drawn the same way, from each stage’s own bytes, in multicolour with the stage’s background colours. Enemies and bosses are sprites and are not in them; the Graphics tab has those. Scroll each one sideways to see all of it. A ship lost past a stage’s restart point starts again there, and the dashed line labelled Restart marks where the screen’s left edge is when it does (restart_point, $08F5, with the columns in restart_columns, $0B64). A ship lost before it starts the stage again.

Stage 1

The encounter

The station’s floor is its ceiling turned over. The bottom half of the play area is drawn from a second character set at $E000 whose first 175 characters are the stage’s own set stored upside down, and the interrupt that starts the third band of sprites switches to it (stage1_chars_flipped, $E000). The boss waits at the far right.

The whole of stage 1: metal girders and machinery along the top and bottom, the bottom a mirror of the top
Restart

Stage 2

The living cave

Every third frame the stage’s routine turns the strips of characters $B4 to $BF one bit, so the walls seem to creep (stage2_frame, $943B). Near the end the play area switches to a second character set for the last stretch of cave, and the boss is part of the map: an eye in the wall that takes eight hits.

The whole of stage 2: the cave, with the second set’s stretch at its right-hand end
Restart

Stage 3

The huge battleship

Stage 3 has no strip of scenery. The battleship is one map 130 bytes wide (battleship_map, $8E6C), and the screen is a window that the game moves along it and up and down (scroll_battleship, $3702, in the game part). The stage ends once the ship has passed and its last wave is gone.

The battleship of stage 3, the whole hull and its gun turrets

Stage 4

Fortress at the front

Six stars twinkle in characters of their own, each at its own speed ($918D). The boss at the end is three machines that are destroyed one at a time.

The whole of stage 4: towers standing on the ground in open space, then a long green wall near the end
Restart

Stage 5

The nest

A narrow corridor between walls of growths, with little room above or below the ship. At the end, twenty identical blobs drift together as the boss and flicker as they move (boss5_routine, $82F8).

The whole of stage 5: a narrow corridor of organic growths
Restart

Stage 6

The transport system

There is no boss. Once the scenery stops, the stage’s routine keeps the script’s column moving, one step every 16 frames, so the last entries send wave after wave until the column reaches $9C00 (stage6_frame, $9286).

The whole of stage 6: white pipes winding over a blue lattice
Restart

Stage 7

A destroyed city

As in stage 6, waves keep coming after the scenery stops, and the stage is won when the column reaches $9C96. The stage’s routine animates twelve characters through four frames (stage7_frame, $93B6).

The whole of stage 7: broken walls and wreckage on a green grid
Restart

Stage 8

The heart of the Bydo empire

The last stage ends at its boss, a core behind a hatch that opens and shuts (boss8_routine, $814C). There is no restart point: a ship lost anywhere starts the stage again. Its files still hold large pieces of stage 7 (Discoveries).

The whole of stage 8: organic growths along the top and bottom, with open space between