a lot of fun! i like how moving the boxes blocks the light, both visual and hitbox. curious how you achieved that?
Viewing post in Glimmers in the Dark jam comments
I am glad that the game it is fun and enjoyable. xD
As for the light and hitbox effect it was done using raytracing. Unity provides a custom Light2D and a Poligon2D collider, that can be free formed to take any shape you like based on a array of points. I basically used unity raytracing to draw the needed shape every frame based on the ray collision.
Here is the video tutorial that i used as a reference: Field of View Effect in Unity (Line of Sight, View Cone) by Code Monkey