views:

241

answers:

1

How do you detect a collision between ball & bricks in a brick breaker game?

+2  A: 

Bounding Box Collision


That should get you started, and give you some terms to search for. Essentially you treat each brick as a bounding box. Based on the ball position you should be able to determine if the ball collides, this is based on the fact you treat the ball as a simple bounding box, with a set height and width.

Finglas
I like the link you provided Finglas.
mjboggess
@mjboggess Gamedev.net is an excellent site for game development articles in general - some are out of date, but there are some gems there.
Finglas