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

Author: rushforthian

Date: 27/12/2016

Subject: Re: MM/JSW walking and jumping rules

 

Carl Woofenden wrote (in response to Andrew Broad):

>> * Off-conveyors and sticky conveyors behave as left-conveyors.

> It's very simple how it works in the real MM/JSW:

> - the conveyor direction has 3 subtracted, so we end up with:
> - 253 for left
> - 254 for right
> - 255 for off
> - 1 for sticky.
> - this value is then ANDed with key presses (which are active low)
> - a mask of 010101 is used for RIGHT, and 101010 for LEFT

> So 'off' allows through both left and right presses while 'sticky' allows none.

There's a typo there - the value of the Conveyor Direction Byte for Sticky, minus 3, is zero.  Which helps to explain how it works (all bits are reset, which simulates all the Left and Right keys in both directions being pressed simultaneously).

 

 

arrowleft
arrowright