I am working on this maze , It's one sprite
I want to make the ball pass through the maze and hit the walls
Is there a way to make the collision polygon covers only the visible parts in the maze and disappears in places with transparency .
As you see in the picture the collision polygon covers the entire image and I could not put the ball inside it .
Any ideas or suggestions to solve this problem ?
Another quick question is the large number of points in collision polygon make the program crash ?