dangrnoodl logo

25 September 2022 ~ 1 min read

Field of View


Field of View

I implemented this nice field of view algorithm and it works pretty well. It doesn’t look great right now because our tunnels are one tile only, there’s no walls to show the space ends. I’ll try and get this added, but sadly it’s not that trivial. The tunnel generation code needs to be aware of adjacent tiles in order to place the walls correctly. I might do another long post that records my path to getting the tunnels looking better with the lighting for next time.