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
| Previous message | Next message | |||
| Previous in thread | Next in thread | |||
Message: 6731
Author: andrewbroad
Date: 19/03/2011
Subject: Re: Rope colour
Eq. wrote:
I've been playing about with that unfinished .NET-based JSW48 editor
of mine again. The latest silly addition is playback of the title
and in-game tunes through the PC beeper :)Could someone help me out again and explain why the rope in The
Beach is cyan, even though the room's background ink is white?
Where does that cyan come from? The ropey stuff is not very
thoroughly commented in the JSW48 disassembly.
Drawing a rope entails plotting pixels, not setting colour-attributes.
Technically, an item collects itself when the colour-attribute of its cell has white INK.
The Air in "The Beach" has cyan INK. If it had white INK, the items would collect themselves immediately when you entered the room, as in "Swimming Pool".
When Willy is drawn in Air cells, their colour-attributes are modified so that the INK is white. This enables him to collect items.
When Willy is drawn in non-Air cells, the colour-attributes are not modified. Items in non-Air cells with non-white INK can be collected by arrows and white guardians, but not by Willy.
--
Dr. Andrew Broad
| Previous message | Back to the Yahoo! Archive home page |
Next message | ||
| Previous in thread | Next in thread | |||
