3 ms·
The algorithm is called "recursive shadowcast" and has long been used in roguelike games. I once implemented a vector adaptation of this algorithm for the groun
by Grue3 10y ago
The algorithm is called "recursive shadowcast" and has long been used in roguelike games. I once implemented a vector adaptation of this algorithm for the groundbreaking non-tile based roguelike Urban Warfare [1]
[1] https://common-lisp.net/project/lifp/uwar.htm https://common-lisp.net/project/lifp/uwar.htm