Some FOV algorithms for roguelikes, in Godot 3.x
Here are two different FOV algorithms for Godot roguelikes. You can test them on this online-playground.
- Arrow keys to move
- Left/Right Mouse click to edit walls
- Esc to go back and select other algorithm
- Raycasting
- Shadowcasting (I like this one the most)
I also recommend this article to read: http://www.adammil.net/blog/v125_roguelike_vision_algorithms.html
https://github.com/aikoncwd/Godot-FOV-algorithms-roguelike
The source is full-commented. I'm using TileMaps and Godot 3.x