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: 7045
Author: ian.rushforth
Date: 07/02/2017
Subject: Re: Rope colour
Andrew wrote:
> 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.
I've just experienced Willy being killed by an arrow that missed his sprite, whilst swinging on a non-white (cyan) rope. The arrow came after the rope in the room's guardian list, so it wasn't a rope-teleport phenomenon. [i.e. the rope colliding with the arrow and transporting Willy to the point of collision - thus causing him to to be hit by the arrow in the next time-frame - as sometimes happens if the arrow comes before the rope in the list.]
In this case, what happened was that Willy wasn't cell-row aligned at the instant when the arrow passed through the rope, and so his attributes were spread across three cell-rows. This meant that the segment of rope immediately above his head was temporarily coloured white (as was the rope segment beneath his feet).
The arrow sailed above Willy's head, but it hit the white rope segment located up there - with a fatal outcome for Willy!!
