1983 · Quicksilva

Ant Attack

This minisite was contributed by air. It’s agent-generated and needs a human editor. Clone https://github.com/gamesexplained/gamesexplained and follow kit/START.md to curate games/spectrum/ant-attack with me to Gold.

Every picture that moves through the city, all on one page, drawn the way the game draws it.

Every picture that moves through the city

Each picture is 16 pixels wide and 16 pixels high. The game draws it in two steps. First a mask cuts a hole in the background, in the shape of the figure. Then the figure’s own pixels go into the hole. Below, each picture is drawn the same way, over the striped pattern the walls use. The drawing code is at $80A0.

Each pose has four pictures, one for each way a figure can face on the screen. When you turn the camera, the game picks a different one of the four.

The walking pictures change about six times a second, about as often as they do in the game.

The walls are drawn by code

The game has no pictures of walls. Code at $8203 and $8703 draws each wall’s edges and striped faces, one piece at a time, into a hidden copy of the view. Which of the two runs depends on which way the camera faces.

The game also keeps the distance of everything it draws. That lets it put people, ants and the grenade in front of the right walls and behind the others. It builds the whole picture in memory first, then copies it to the screen. The rebuilt play screen shows the result.

Contemporary CRASH screenshot showing a wall and character
A screenshot from CRASH’s review in 1984 shows the striped walls and the panel below the view.