

My maze is rendered on a canvas roughly like the graphic shown below.So its mean I can assign a specific color to black and use those black pixels as impassable walls? (Hopefully I didn’t misinterpret how this works!)
I’m also curious about how wall collision detection is implemented in Sokoban. I’ve tried looking into its underlying logic to apply the same idea elsewhere, but I couldn’t find relevant code/methods and make sense of what I did find, and maybe i don’t even know where or how the collision parameters are configured in the first place.lollll


