bukeelcin / Brick_Breaker

GROUP-A
0 stars 0 forks source link

Collision With Bricks #5

Open deniziskender opened 10 years ago

deniziskender commented 10 years ago

When there is a collision between brick and method, sometimes two or more bricks are removed. Can you please try to solve this problem and I think the problem is on checkCollision() method but I could not fix it.

deniziskender commented 10 years ago

Sorry, instead of saying between brick and method, it is going to be between brick and ball.

ecesalmanol commented 10 years ago

The ball hits the brick and remove the brick, then I think it changes the direction and hits the another ball and removes it too. Maybe our bricks are too small so we see it like one collusion removes two brick? Do I get it right or do you mentioned about something else?

ecesalmanol commented 10 years ago

If something else, can you explain it in more detail?

deniziskender commented 10 years ago

The ball hits the brick and remove the brick, then I think it changes the direction and hits the another ball and removes it too. I think, you got the point because that exactly what is happening during the game. Maybe, we can also check the directions of ball after collision.(Move method and it's parameters)Our aim is that ball will not go towards to bricks. It will basically go towards to walls.

ecesalmanol commented 10 years ago

Okey, now I understand what you mean and I agree with you. It must be change the direction we should fix it. I will try to solve

deniziskender commented 10 years ago

If you do, please inform us. We''ll try to solve this as well.