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: 2530
Author: john_elliott_uk
Date: 12/01/2002
Subject: Re: The rope..
<< I've never seen any technical pages
about the rope >>
guardian.cxx in JSWED2
contains some nice C++ code that draws the rope. But
here's a short summary:
* Byte 0 is 4
(rope).
* Byte 1 is the current swing position of the
rope. 0 is central. Bit 7 is set if going left,
else going right.
* Byte 2 is the X position of the
top.
* Byte 4 of the rope is its length.
* Byte 7 is
how far out the rope is allowed to swing.
