Hi,
I made a pong game with pygame. It works pretty good but I want the ball to bounce realistically. Just like in real pong when it bounces off the right edge it goes to the right and when it bounces off the left edge it goes to the left. Right now, I just reverse the x speed of the ball (3 becomes -3). I need a way for the ball to bounce off the paddle depending on where it hit. I tried looking on Google but I couldn't find anything. Does anyone know how to implement physics like in real pong?
Thanks in advance.