As you can see here as well
// if the ball hits the left wall add to Player 2 score
if ( BallXLoc <= 11 ){
Player2Score +=...
Type: Posts; User: JakkyD
As you can see here as well
// if the ball hits the left wall add to Player 2 score
if ( BallXLoc <= 11 ){
Player2Score +=...
I solved object going outside of screen by saying if the Y axis of paddle = top or bottom of screen then set the paddle's Y axis to the min/max so it can't go over.
I have another query to do with...