Sorry b32, i understand the conscept but i cant figure out how to make that into code that would work.
Bare with me i'm very new to game programing in general.
so, somthing with a veriable that tells to change the x pos. of the ball when it hits the paddle... would i put your code "newspeedx = (balx - paddlex)" on the collision with the ball and the padle?
Bare with me i'm very new to game programing in general.
so, somthing with a veriable that tells to change the x pos. of the ball when it hits the paddle... would i put your code "newspeedx = (balx - paddlex)" on the collision with the ball and the padle?