Implementing a line of sight/fov algorithm?

NeechooNeechoo Posts: 2Member
edited December 1969 in 2D
Hi,<br />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.

Comments

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file