01 · cast
Hammerfist, Metalisis, and everything else that moves
A sprite is a small picture the C64’s video chip can move over the scenery. Each body is two sprites laid over each other, with a third for a charged fist. Enemies and the icons they drop are built from lists of sprite pieces, each with its own place and colour.
A sprite is only 21 pixels tall, which is short for a body. For a tall piece, the game changes the sprite’s picture as the screen is being drawn, just below the first half, so one sprite draws both halves.
Each animation plays from the game’s own tables of shapes and how long to hold each one. Two of the colours are shared by every multicolour sprite on screen; the switch offers the pair the game sets when its display starts and the pair in use in the first room. The player’s poses are listed from $1C48; enemy animations run at $AD9D.
03 · screen
The screen switches character sets partway down
The scenery and the status panel are both drawn from characters, eight-by-eight-pixel pictures laid out in a grid. The status panel’s characters are its letters, digits, portraits and meters; each room has a set of its own. The video chip can only show one set at a time, so the game switches sets as the picture is drawn, just below the panel. Lower down, it reuses the eight sprites for more pieces in the same way.
The first room of Complex 7, drawn from the game’s video memory with every change it makes to the video chip during the frame. Untick the box to draw the whole frame with the settings from the top of the screen. The interrupt routine that makes the switches starts at $196A.