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: 4081

Author: andrewbroad

Date: 16/04/2004

Subject: Re: Changing Willy's colour

 

carlwoffenden wrote:

>
>> This doesn't actually change Willy's colour
>
> As I said, useless poke... As for it not changing Willy's colour,
> the code snippet is from the only place where the attributes are
> set.

Okay, to be pedantic: it /does/ change Willy's colour, but not in
the simple way that people might imagine, i.e. the value you poke
into 38445 (JSW) or 37486 (MM Bug-Byte) is the OR-mask rather than
the actual INK colour of Willy.


> Geoff Eddy's code for changing colour (based on JSW code at #95F8)
> doesn't look to take into account the ramp's y offset, BTW.

It doesn't, as can be observed in "Good Skunk" in _Willy Takes a
Trip_. The ramps in that room are yellow, so Willy's feet correctly
appear yellow in that square, but appear white in the square to the
left of the ramp.

--
Dr. Andrew Broad
http://www.geocities.com/andrewbroad/
http://www.geocities.com/andrewbroad/spectrum/
http://www.geocities.com/andrewbroad/spectrum/willy/

P.S. To correct a typo I made in Message 4079, the binary code for
yellow is of course 110, not 101 (cyan).

 

 

arrowleft
arrowright