Advertisement

Something about line of sight...

Started by March 07, 2001 01:52 AM
-1 comments, last by StarikLesovik 23 years, 11 months ago
So... For example: I have simple map 0 0 0 0 0 0 0 # 0 0 0 @ 0 # 0 0 0 0 # 0 0 0 0 0 # 0 0 0 0 0 0 0 0 0 0 0 0 * 0 0 0 0 0 - transparent, # - not transparent, * - player''s unit, @ - enemy unit. How can I calculate area, what visible for player''s unit? P.S. Don''t refer me to article "Line of sight algoritm for tile based game".

This topic is closed to new replies.

Advertisement