danwinkler / tacticshooter

tacticshooter.com
1 stars 0 forks source link

Investigate adding fog of war #96

Closed danwinkler closed 10 years ago

danwinkler commented 10 years ago

But do it like this, so you cant see around walls: http://ncase.github.io/sight-and-light/ http://www.redblobgames.com/articles/visibility/ http://www.byronknoll.com/visibility.html

Probably way too computationally expensive, because it would have to be a ray for each unit on your team, to each vertex.

danwinkler commented 10 years ago

This is added in a sort of blocky style. It's fairly slow, so I made it optional.