I need a littel help, on something…
I’m making a brick game (I think that’s the name for it :)).
Everytime the game starts the ball automatically starts bouncing between the paddle and the bricks above. I don’t want this to happen, so I’ve put a Mouse Listener that checks the mouse, and when clicked, the ball acquires some velocity on the yy axis. The problem is that, after this, everytime I move the paddle, the xx position of the ball also moves.
Any ideas about the initial state of the ball, and it’s status after a mouse click?
Everything else is working.