Andrew1431 / AHTWPong

0 stars 0 forks source link

Add collision detection #1

Closed Andrew1431 closed 8 years ago

Andrew1431 commented 8 years ago

Know when the ball hits the following sides of the screen.

Know when the ball hits the paddle

Andrew1431 commented 8 years ago

Find the mathematic equation for causing the required change in direction. probably somethin to do with cos and sin. I can help you out with this part if you want :P Hangin with my cousin who's a trigonometry teacher :P