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.
Open source, classic overhead run-and-gun game
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.