r/truegamedev • u/tacograveyard • Jul 26 '12
2D Lighting / Visibility Algorithm with Excellent Interactive Visualization (plus source)
http://www.redblobgames.com/articles/visibility/
69
Upvotes
5
u/angry_wombat Jul 26 '12
very cool, never thought about using it for AI behavior
2
u/dgoberna Aug 06 '12
Neat. It's almost the same algorithm I use in my current under-development game, a 2d side-scroller platform game whose gameplay relies strongly on lights ( http://indiepubgames/game/LUXI )
1
u/ponchedeburro Jul 27 '12
Pretty nice. Thanks for sharing. I'd love to have a little time for fun like this.
1
u/lusid Jul 29 '12
Very cool. Good job!