1987 · Ocean

Wizball

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/c64/wizball with me to Gold.

Every moving thing in Wizball is a sprite, and most of their pictures sit in one bank of 128 shapes. The game also draws pictures of its own as it runs: the WIZBALL logo, the scores on the title, the level number, the four cauldrons as they fill, the pipe of a tube and the words GAME OVER.

01 · Everything that moves

Every sprite, moved by the game's own code

Each picture here is chosen, coloured and placed by the game's own routines, run in this page over the listing's memory, a frame of play at a time: a fiftieth of a second.

The sprites are drawn by the game's own code in the built site.

The Wizball

The ball has 16 pictures of one turn. Holding the stick left or right changes its spin by 6 a frame, up to 48 either way, and twice a frame the spin is added to a fraction that carries into the picture, so at full spin it turns once in 43 frames. Here the stick is held right, let go, then held left. With a shield the ball goes black two frames in four. A new Wizball arrives through 24 pictures from a line to a ball, a step every three frames, and leaves the same way in reverse. The beam is two arcs, one 23 lines above the ball and one 23 below, drawn by the same sprite as the ball further down the screen: a shot sends them through three widths, four frames each, each width in the next of light green, light blue, white and red, and black on every other frame.

The catelite

The cat steps through three pictures, one every four frames. After eight hits, or a purple droplet, it is the mutant cat and pulses from black to white and back through blue, purple and light blue, a step every four frames; with a shield it blinks black.

The aliens of the landscapes

Eighteen kinds, each made from its template by start_alien and animated by animate_alien. Some keep one picture, some step through a list, and the colour spheres and the creature of type 12 are eased between the pictures of a list: each bounce sends them to its far end, and every third frame they move one place back to the middle, so they squash and wobble. Here they bounce every 64 frames. The spheres take the level's colour, red on level 1. A colour of $10 in a template makes the alien flash light green, light blue, white and yellow, five frames each.

The aliens of the bonus stage

The bonus stage has a table of 20 templates of its own. Types 9 and 10 point at the same template, and the stage's script never asks for type 10, so it is left out here. Types 12 to 15 fade in through black, dark grey, grey and light grey, four frames each, before they take their colour. Type 19 is the Wizball lookalike, which runs the ball's turn backwards.

When an alien is shot

A shot alien explodes in its own colour through four pictures, four frames each. Every ninth kill, and every kill of a type 1 molecule, leaves a pearl instead. A shot colour sphere drops a droplet, which wobbles through three pictures as it falls a line a frame, and splashes in nine pictures when it reaches the ground. Most droplets are the level's colour; now and then one is white, dark grey, black, purple or light blue, the special droplets.

The icon bar

Seven sprites in the top border. Each pearl lights the next icon, and the lit icon pulses through six colours, a step every four frames: blues in play, reds while the Wiz-lab offers its weapons. An icon that has been taken shows what the next take gives, or the box with an arrow when there is nothing left to take. Before each life, all eight sprites are rings around the words GET READY, flashing through four colours.

The panel

Below the landscape are the level number and four cauldrons. The number is drawn into a sprite from the text font, each pixel three wide and each row twice, and flashes in the level's own colour. The cauldrons are drawn a row a frame from the empty and full cauldron shapes, full below the cauldron's level: red, green, blue, and the colour the level wants, which fills as its recipe's colours do. Here the level wants purple, ten red and ten blue.

Tubes and the Wiz-lab

Arriving from a tube, two sprites stretched to double height show a pipe sliding down a line a frame. It rises five lines, the Wizball rolls out from under it, and the pipe comes down again and slides back up. In the Wiz-lab, Wiz climbs out of the ball and walks to the pot, then stirs it while the colours are poured in. The cat, if it came along, walks to its milk and drinks, flickering through the colours as its colour counts down a step a frame from 60, until it stays black.

The title, the menu and the end

The title's WIZBALL is drawn into five sprites in the large font when the title opens, and shown double width; on each of its 16 lines the colour changes, and new colours enter in the middle every other frame and move outwards. The best score is drawn into three sprites in the text font, recoloured every second line from a ramp of greens and white. The player menu's stars are the empty shape with one two-pixel dot in it. GAME OVER and the player's name are drawn into six sprites, which cycle from black to white through the blues.

Shapes nothing shows

The bank at $C000 holds 128 shapes, and all but five of them are drawn above. These five are in no template, list or routine the game reads: a diagonal streak ($4A, $4B), two frames of a creature like type 12 ($63, $64) and an arrow ($7F).

Eight sprites are not enough for all of this, so the game moves them down the screen in bands, rewriting their positions, colours and pictures at set raster lines: the icon bar in the top border, the beam's upper arc, the ball and its lower arc on one sprite, six aliens and the cat in the landscape, and the panel in the bottom border. The bands are on How it works.