bukeelcin / Brick_Breaker

GROUP-A
0 stars 0 forks source link

BALL-BRICK CLASH #2

Open bukeelcin opened 10 years ago

bukeelcin commented 10 years ago

When the ball hits the brick, then it goes to unexpected space and I can not designate the place of ball after the ball-brick collision.

deniziskender commented 10 years ago

If you mean, when there is a collision between brick and ball, ball does not behave how we expect, you are right. I noticed the same problem . I think the problem is in checkCollision() method because all the collision between bricks and ball was considered there and we were arranging the new speed of ball there as well. I''ll try to fix this.

bukeelcin commented 10 years ago

I agree with you about the problem of checkCollision() method, we should specify it again and determine the motion of ball.