Original Post
Maybe I am not ready to make pong but I do not understand the concepts/physics of the ball. Basically how do you get the compiler to know whena ball hit here have it move this fast in this direction. My only Idea was to have 4 functions, leftplus,leftminus,rightplus,rightminus. standing for the differant quadrants on a plane, then allways have it move in the same direction in those quadrants. But after thinking about it that wouln't work either unless I used about a million switch statement. So is there just some formula I dont know, im in 10 grade and was forced into chemistry not physics.