1988 · Elite Systems

Ikari Warriors: graphics

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/ikari-warriors with me to Gold.

Every sprite the game draws its soldiers, tanks, helicopters, and panels with, the characters the road is built from, and the loading picture.

01 · Sprites

36 moving things on eight sprites

The Commodore 64 shows eight sprites on a line. The game moves up to 36 things at once, so a multiplexer sorts them by height and reuses the eight sprites down the screen (sort_sprites). Bullets are not sprites at all: they are drawn into the characters of the road (update_shots). Every frame below is drawn from the bytes of the Source tab, in multicolour, with the play area's shared colours 11 and 12 (dark and middle grey) unless the group says otherwise.

02 · Panels

Panels in the borders

The score panel above the road and the status bar below it sit in the screen's borders, where characters cannot go. The game opens the borders by changing the screen height on the right raster lines, then places eight sprites in each, frames $10-$17 above (upper_panel_sprites) and $18-$1F below (lower_panel_sprites). The digits are drawn into the sprites' bytes (draw_panel_digit), and so is the tank's fuel bar (draw_fuel_bar). Both sets are in the sheet above.

03 · Characters

The ground's characters

The road is made of multicolour characters, each with its own colour in char_colours. The first 87 are always there: the earth, grass, water, and panel edges at game_charset. The rest of the 256 are loaded in sets as the road reaches them (map_load_tiles); the Maps page shows them in place. A character's colour value also says what it does: one of its two top bits makes it solid to anyone walking, one of those also stops bullets, and a value ending in $E is water. Each character below carries a letter for that: S for solid, B for solid and stopping bullets, W for water.

The game's own characters, each in its colour from char_colours, on the start of the road's colours: orange, brown, and light green.

04 · Loading

The loading picture

The loader shows a multicolour bitmap while the game loads. The loader reads the picture as its second and third blocks of sectors, tracks 15 to 17 of the disk, and shows it until the last blocks load over its memory. The running game keeps none of it, and the picture below is the loading screen as it appears.

The loading picture: two bare-chested commandos under the word IKARI, with the Elite logo
The loading picture, in the emulator. Seven of the game's tracks, 8 to 14, hold its $4000-$CFFF with every byte combined with $C9 by exclusive or, which the loader undoes; the other tracks are stored plainly.