Laser Bike

Published in Dragon User February 1985.

Scramble

Steve Gathercole presents a graphic laser bike game.

The game uses several machine code routines, so I have incorporated error checks at all the data statements. As a large amount of data is needed for the high detail I have also used error checks in the graphics data. This should help readers to type in the listing.

The object of the game is to break through the outer perimeter of a secret enemy base you have discovered on your laser bike. You must shoot down the missiles fired towards you. You only have a few shots at each missile and must guess the height and distance of your shot using the right joystick and the fire button to fire. Machine code has been used for the sound effects and scrolling.

Program data

lines 60-90read and poke machine code
lines 300-350display wait screen
lines 550-1500read and poke main graphics
lines 1510-1860set up screen background
lines 1870-2100main loop
lines 2570-2719start again routine
lines 2730-3150instructions
lines 3160-3340draw string data and subroutine

Variable

A$= draw string

Arrays

NL= number blank
BM= BOMB
BX= bomb explosion
BL= blank

Machine code routines

EXEC 32187(bomb scroll)
EXEC 32215(scroll screen clear)
EXEC 32000(main scroll for background)
EXEC 32114(laser sound)
EXEC 32071(bomb explosion sound)
EXEC 32144(motorbike explosion sound)