Something about line of sight...
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement