• 2D
  • Implementing a line of sight/fov algorithm?

Hi,I'm trying to implement a 2d line of sight algorithm similar to Doorkickers or Monaco (example here: http://ncase.me/sight-and-light/), but I have no idea where to start. It shouldn't rely on using lights, since I want to have lighting and shadows separate from the line of sight. What would be a way to do this smoothly in Godot? Any help will be appreciated.