|
Array colision detection |
chaseC
Member #8,368
February 2007
|
Hi, I'm making a breakout clone but I've run into a problem with the collision detection. I'm using an array to store the positions of all the bricks but I don't know how to check to see if the ball has hot them. Can someone help please?:( |
CursedTyrant
Member #7,080
April 2006
|
First answer: attach yer bloody code You could use simple bounding box collisions.
It's not tested, so it may contain mistakes. --------- |
|