1989 · Domark

Licence To Kill: 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/licence-to-kill with me to Gold.

Every sprite shape the game draws with, and the five character sets its scenery is built from.

01 · Sprites

192 sprite shapes in one bank

All the moving things in the game, from the helicopter's rotor to the tanker trucks, are drawn from one block of 192 sprite shapes at $5000-$7FFF. The game is one load, so every level's shapes are in memory together.

Frame: none picked

Each shape is drawn from its 63 bytes in the Source tab, labelled with its frame number, the number the game writes into a sprite pointer. In multicolour the two shared colours are black and white, as level 1 sets them (draw_player); the third is the sprite's own colour, which you can change. Some shapes are drawn as hi-res sprites in the game: untick the box to see them that way. A shape's frame number is its address divided by 64, less $100.

FramesWhat they are

Big things are built from several sprites. The helicopter is four: its body expanded to double size, two more pieces above it and the rotor or its shadow (draw_player). When it is shot down, the same four sprites show the pieces of a large explosion from the tables at $B8CC and $B8F0. Enemies come in groups of up to six sprites, a leader and followers placed at fixed offsets from it (move_enemies), and each of the 45 kinds of enemy names its first frame, colour and group size in the type tables from $94F3.

02 · Character sets

Scenery made of characters

The scenery is not drawn with sprites but with characters, 8 by 8 pixel tiles in a character set. Each level has its own set, kept under the I/O chips at $D000-$EFFF and copied into the video bank at $4800 when the level starts (copy_charset).

The 192 characters the game copies, drawn in multicolour with the black background and the two shared colours of the level's first colour scheme (scheme_colours); the third colour is the level's playfield colour. The title's set is drawn in white on black, the way its text appears.

Each level groups its characters into tiles of 8 by 4 characters, and its map is a list of rows of four tiles: the Maps tab draws them all. A table of heights, one number a character, tells the game which characters are flat ground and which stand high enough to crash into: see crashes.