View Single Post
Old June 19, 2009, 16:53   #26
Marble Dice
Swordsman
 
Join Date: Jun 2008
Location: Columbia, MO. USA
Posts: 405
Marble Dice is on a distinguished road
I agree with jv123, if you sub-divide each tile into 16 smaller pieces (4x4), consider each wall to take up the middle 4 (2x2). Then if you can draw a line from tile center to tile center without crossing an obstructed portion of a tile, you have visibility. It would look something like this:

Code:
#######.#######
#######@#######
????.......????
?.............?

................?
.........????????
.@.###?????M?????
.........????????
................?

@...........
...#?.......
.....????...
.......?????
.........???
Marble Dice is offline   Reply With Quote