Personal Computer News


Bullfight

 
Published in Personal Computer News #074

BULLFIGHT

If you have just returned from your summer holidays and next year's feel rather a long way off, here is a program for the Commodore 64 from Diane Sketchly of Sawbridgeworth in Herts which will whisk you straight back to the Costa del Sol.

You take the part of a flamboyantly dressed matador in this (thankfully) less bloodthirsty than normal version of a bullfight.

As you enter the arena, red cloak in hand, the bull who has been sitting quietly in his pen becomes angered at your presence and starts to charge at you. Although much larger than you, he is considerably more agile and moves across the scren much faster than you do. Your only means of escape is to dodge behind various objects which have been thrown into the bull ring by the audience - these objects will make the bull bounce back into one of the corners. They do, however, also have the effect of putting you back to the starting position, so your best bet is to hide behind one of the objects and wait for the bull to charge straight into it. In this way it is possible to make your way towards the bull pen, which is the aim of the game.

The game uses some very convincing sprite graphics and these is a little Spanish musical intro to set the atmosphere.

Program Notes

0 Sets border and background colour and then GOSUB instructions
1-3 Data for theme tune and then GOSUB to play the theme tune
15 Changes border and background colours
20 Sets up pointer to Vic II chip and then enables sprites and pointers
30 Sets up variables
40 Moves sprite pointers
50 Reads in sprite data
60-80 Position and colours for sprites
90-130 Draws borders
150 Sets screen colours
200-250 Checks for input from keyboard to move matador
260-350 Checks to see if the matador has moved off the screen
400-430 Moves bull in pursuit of matador
440-450 Checks whether the bull has collided with either the matador or an object
451 The matador has made it to the bull pen
5000-5030 Wraps screen around
5050-5090 Resets bull after a collision with an object to a randomly defined corner
6000-6010 Plays sound for each of game
6030 Scrolls matador upwards and then clears the screen
6035 Prints 'you lose' message in the centre of the screen. (RON = Reverse on, RHT = Cursor right, YEL = Yellow)
6065 Expands bull horizontally and vertically
6075-6085 Produces sound with a time delay
6086 Decreases the size of the bull
6090 The bull flashes large and small ten times
6100 Prompts for another go
7000-7090 Win routine: Prints winning message, flashes matador ten times and plays tune
7500-7540 Sound for collision with objects
7710-7820 Plays the sound for the theme tune from data statements 1 and 2
8000-8130 Instructions
10000-10220 Data for sprites

Diane Sketchly