1) You should be able to tie up to two objects to the rope, on on either end.
2) As a logical extension of (1) above, you should be able to tie both ends
of the rope to the same object. 3) You should be able to take the free end of
the rope to another room, leaving the object tied to it behind, in the first
room. 4) If you take the free end of the rope too far, the object on the
other end will start dragging along behind you.
Has anyone ever tried something this complex? Does anyone have any suggestions
on how it could be implemented?
I know Graham Nelson implemented a very complex and realistic rope in _Metor,
Stone, etc. etc._ -- would he possibly consider publishing his source code for
All input will be appreciated.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
This is one of those standard questions that can never be definitively
answered, because it's dreadfully complex, and any individual
implementation depends on what, exactly, you want it to do in your code.
I've attempted to at least bring up the important issues at:
When writing it, I compiled a ton of posts from raif, and you can read
them all at:
As noted there, you might want to look at the 'Attachable' and
'Attachpoint' classes in the TADS library, and (as someone else posted)
Hugo has a similar class in it.
You should also be able to tie the rope to itself exactly once iff
both ends are free.
Unless you want to start implementing nooses, etc etc. Likely you
.. Roger Carbol .. r...@shaw.wave.ca .. hang on hangman