Article View: rec.games.programmer
Article #838Re: Anyone have any good
From: Cyberman
Date: Fri, 21 Aug 1992 16:31
Date: Fri, 21 Aug 1992 16:31
23 lines
1247 bytes
1247 bytes
-=> Stephan A. Puga spoke of "Anyone have any good dung" <=-
To All at 08-16-92 18:26
SAP> Basically, I am looking for something like the way Moria handles a
SAP> person entering a room. If there is nothing in the room,
SAP> everything up to the walls is visible, but areas can be hidden if
SAP> not within the person's line of sight.
SAP> Any ideas on how to do this right?
Another thing to add to the FAQ.
Basically "cast" a line to the walls using Bresenham's algorythm
would be the fastest way. By following these points from your
character you can find obstructing objects and "hide" what's
behind them.
Stephen Cyberman@Toz.Buffalo.NY.US
Scripted at Fri 08-21-1992 11:00:45
... ANSI.SYS Loaded. Breathaizer test 0.5%.
--- Blue Wave/QWK v2.10
Technical Details
Message-ID:
<gate.gq8uPB1w165w@toz.buffalo.ny.us>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!ub!toz!cybermanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!ub!toz!cyberman From: cyberman@toz.buffalo.ny.us (Cyberman) Newsgroups: rec.games.programmer Subject: Re: Anyone have any good Message-ID: <gate.gq8uPB1w165w@toz.buffalo.ny.us> Date: 21 Aug 92 16:31:03 GMT Lines: 23 X-Maildoor: WaflineMail 1.00r