Shadow Cast / Line Of Sight 2 (No Raycasts)

34
35
0
1

[Move Mouse] = Aim

[WSAD] / [Arrow Keys] / [Right Click] = Move

[+] / [-] = Zoom In / Out

[Left Click] = Toggle dark grey walls on / off


This system assumes that the player will always be on screen (it breaks if the camera moves somewhere else and the player is not on screen any more)

related: https://en.wikipedia.org/wiki/Straight_skeleton

https://www.angusj.com/clipper2/Docs/Units/Clipper.Offset/Classes/ClipperOffset/_Body.htm


1st version: https://flowlab.io/game/play/2879068

Editor