1984 · Novagen Software

Encounter

This minisite was contributed by air. It’s currently claimed by air who is editing it to reach a Gold tier standard.

Eight levels and the warp between them. A level changes the sky, the hills and clouds on the horizon, and which saucers can come; the obelisks stand in the same places on every one.

01 · Look around

Turn on the spot on every level

Pick a level and turn the player round: drag the picture, hold the turn buttons, or click the picture and use the arrow keys. The warp is the flight from one level to the next.

The picture is drawn by the game's own view routines from the object table as the level starts, with the player's heading turned and nothing else changed; the status row is left off, since it shows level 1 until the first enemy is set up. Turning goes at the game's own rate for Novice: $25 2048ths of a circle a pass, a pass every two frames. The hills and clouds are sprites, placed against the heading by $B9A5 from the level's scenery record at $9840. The warp is the flight as the game flies it, from the moment the gate is entered: scene record 8, the obelisks left out ($90 = $1F) and spheres in the enemy-shot slots.

02 · Scene records

Each level is a sixteen-byte scene record

A level is a 16-byte scene record: sprite flags and five colour pairs. The level index counts down, $70 for level 1 to $00 for level 8, and $80 is the warp. Levels 2, 4 and 7 have a black sky, the other five a coloured one.

RecordLevelSkyHorizon 1Horizon 2Horizon 3Ground$D022sprites

Records at $8010, copied to $AB to $BA by $B920. A split swatch is a colour pair whose two nibbles differ: the band flickers between them. The ground colour is written whole, so only its low nibble shows.

ParameterExpertAdvancedNoviceDemo

Eight tables of four bytes at $8F80, one column per skill; the demo plays from the fourth column.

When the last enemy dies the stargate (object 3) is placed at that enemy's X for 240 passes, about ten seconds, and a shield is added at once. Flying into it starts the warp: the scene switches to record 8, speed ramps toward the level's top speed ($A7E8: ), and spheres spawn in the enemy-shot slots every three passes. After about four periods of 256 frames the level number goes up ($A798). Missing the gate returns to play with a new enemy count and no penalty ($A552); hitting a sphere is an ordinary death.