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: 6725
Author: andrewbroad
Date: 05/03/2011
Subject: Re: Vertical guardian in JSW
> Hello,A vertical guardian's direction is determined by the fifth byte of its guardian-class: a signed byte that represents its velocity in pixels×2: negative for going up, positive for going down.
>
> In the original JSW, a horizontal guardian's start direction is
> (block[0] >> 7).
> what determines a vertical guardian's start direction?
>
> This info oddly seems to be missing from Arsen Torbarina's JSW Tech
> Page.
>
> Eq.
By assigning extremely large values such as 126 or 124 to this byte, it is possible for one vertical guardian to give the illusion of two, as seen in my JSW games We Pretty and Goodnite Luddite.
--
Dr. Andrew Broad
