We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am currently making a game in processing. I want it to be where you move the ball with your mouse, and when it touches the side, it stops. However, when I start the game, the cursor is inside one of the walls, causing the game to stop. How can I fix this? Here's my code:
CODE REMOVED SEE NEXT COMMENT
Answers
Sorry how the formatting is all weird. It just went like that
Maybe require the user to click the Ball before it starts following the mouse?
http://forum.processing.org/two/discussion/8045/how-to-format-code-and-text
I have removed the original code and corrected the code formatting in your second effort ;)