How to stop a ball on a colour
in
Programming Questions
•
8 months ago
Hi,
I'm trying to create a labyrinth-game with Processing; this is what I've done:
I've created an image (jpg) of a labyrinth and I've loaded it into Processing; then in Processing I've created a ball that I can move with the arrows.
Now the problem is that I need the ball to stop on the black area of the image, is it possible to do something like that?
Thank you for the help and sorry for my english :P
1