Thread
:
2d Pong HELP!!
View Single Post
Feb 28th, 2008, 7:27 AM
#
5
Wizard1988
Professional Programmer
Join Date: Oct 2005
Location: Chitown
Posts: 417
Rep Power:
4
Re: 2d Pong HELP!!
There is a couple of ways you can do this. First I would simply check if the balls x coordinate is less than (x_paddle_position + paddle_width).
You can get more info here:
http://www.edenwaith.com/products/pi.../collision.php
__________________
JG-Webdesign
Wizard1988
View Public Profile
Find More Posts by Wizard1988