Thread: Blind Spots
View Single Post
Old 07-09-2006, 12:40 AM   #1
John
Senior Member
 
Join Date: Aug 2002
Posts: 252
John is on a distinguished road
So how do you get rid of blind spots? An example is in a traditional mud you have 6 directions n, e, s, w, u, d. However With that you have four blind spots, which are
[code]
S = can see
B = blind spot so I can't see there.
P = Where the character is standing.
--------------
| B | S | B |
--------------
| S | P | S |
--------------
| B | S | B |
--------------
[/quote]That's easy fixed though, just add the directions ne, se, sw, nw so you can see in all of those blind spots. But let's say you want your player to be able to see 2 rooms away instead of just one, you then get more spots.
[code]
----------------------
| S | B | S | B | S |
----------------------
| B | S | S | S | B |
----------------------
| S | S | P | S | S |
----------------------
| B | S | S | S | B |
----------------------
| S | B | S | B | S |
----------------------
[/quote]Now if your character is on a deserted plains or something, there is no logical reason they can't turn in a full 360 degrees and see if someone is standing in any of those rooms. So how do you fix the problem of the PC not being able to see in those rooms? What code do you add?
John is offline   Reply With Quote