Resource centre for ZX Spectrum games
using Manic Miner and Jet Set Willy game engines
Archive of the
Manic Miner & Jet Set Willy Yahoo! Group
messages
|
|
||
|
|
Message: 5273
Author: john_elliott_uk
Date: 11/12/2005
Subject: Re: Clock tower and the bathroom in JSW64
--- In manicminerandjetsetwilly@yahoogroups.com, "Igor Makovsky"
>
For what it's worth, I've uploaded the source code for this bit of
> The top of the tower was made using patches, as far as I understand,
> right? And does the bathroom multi enters is the work of the patch too?
> Pity, I can't code...
>
> Can you explain, how the clock works, for example?!
JSW64 to my folder in the Files area, as jsw64bits.zsm.
The clock works by having a list of 12 coordinates, corresponding to
the 12 hours. The 'enter room' patch vector sets the position to
12:00. The 'game loop' patch vector counts loops, and every 8 it moves
the first guardian in the room to the next position in the list.
The bathrooms trick is done by the 'enter room' patch vector in the
Top Landing. If Willy's running to the right, then the exit is to the
real Bathroom; otherwise it sets the right-hand exit from a list of
possibles.
