LOS with Raycasting

16 Feb 2014

The line-of-sight algorithm got an upgrade in 0.5.4. This new algorithm uses raycasting; rays are cast from the player’s tile outwards to the edges, setting tiles as lit until a wall is encountered.

https://github.com/cxong/cdogs-sdl/issues/94

comments powered by Disqus