a solid comment and thank you for checking us out!
Yes it can be improved for sure but we couldn't risk spending more time on it (took ~8-9 hours of the jam)
it's all manged by a hand-made javaScript class that compares locations of registered collidable entities.
If you are intrested in what it's doing you can press x to enable spatial debug :P