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: 7004
Author: rushforthian
Date: 29/12/2016
Subject: Re: Is it possible.......
---In manicminerandjetsetwilly@yahoogroups.com, wrote :
> In particular, there's one place where AIRBORNE is set to 0Ch (so that Willy is certain to die of falling when > he hits the ground), and one where it's set to 06h (I forget exactly why).
The latter occurs when Willy has completed a jump (i.e. 18 time-frames have passed since he started it), and hasn't landed on a standonable surface. The value of 06 takes into account the fact that Willy has already fallen five half-cells from the apex of his jump. (And it also ensures that the pitch of the tail-end of the 'jumping' sound effect, blends seamlessly into the pitch of the 'falling' sound effect.)
