Lol, i tried to do this:
notice the:
after the collision with the paddle, but when it hits it flys off at a million miles per hour to the right. And returns to normal speed when it hits the wall and bounces
newspeedx = (ball_x - player_x) ;Blah blah the rest of the movement function If RectsOverlap(ball_x,ball_y,15,15,player_x,player_y,100,20) Then bal_ydir = -1 bal_xdir = newspeedx
notice the:
bal_xdir = newspeedx
after the collision with the paddle, but when it hits it flys off at a million miles per hour to the right. And returns to normal speed when it hits the wall and bounces