I am developing a game in cocos2dx, I have a sprite of a maze, in png format (with walls and other areas are transparent).
I was wondering if there is any way I can detect collisions with these walls in the sprite. The player will drag an object through touch and solve the maze.
Any ideas are welcome.