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: 4426
Author: andrewbroad
Date: 29/08/2004
Subject: Re: Adjusting horizontal guardians in MMtoJSW
john_elliott_uk wrote:
>When SPECSAISIE MMtoJSW converts a horizontal guardian, the
>> - HGs which go left initially start (on the zeroth time-frame) on
>> Sprite 0 rather than Sprite 3. SPECSAISIE MMtoJSW moves their
>> start-columns one character to the right.
>
> Interesting. In MM "The Cold Room", the two guardians are
>
> 0e 72 5c 60 07 61 72
> 0d bd 5d 68 07 ac bd
>
> and in JSW:MM they are
>
> 01 e6 13 30 00 ** 01 12
> 01 e5 1d d0 00 ** 0c 1d
>
> - which looks to me as if the first one has been moved right
> (from X=12h to X=13h) but the second hasn't. Did you do this
> correction by hand in JSW:MM?
following code sets the start-column:
byte startColumn= (byte)(_memoryMM.peekU(radm+h+1) & 31);
if (_memoryMM.peekU(radm+h+4) >= 4) { // initially goes left
startColumn++;
}
_memoryJSW.poke(radj+g++, startColumn);
Both penguins in "The Cold Room" go left initially, so MMtoJSW
set both their start-columns as per the code above.
However, this caused an infinite-death scenario when coming back
from "The Menagerie", so I decided to prioritise fairness over
faithfulness by manually moving the start-column of the lower
penguin one character to the left.
--
Dr. Andrew Broad
http://www.geocities.com/andrewbroad/
http://www.geocities.com/andrewbroad/spectrum/
http://www.geocities.com/andrewbroad/spectrum/willy/
