DhanushNehru / breakout-game

A simple breakout game
https://breakout-game-dhanushnehru.netlify.app/
MIT License
8 stars 25 forks source link

Collision detection allows ball to partially go through bricks #29

Closed tygee713 closed 1 year ago

tygee713 commented 2 years ago

When watching the gif in the readme and trying out the game, I noticed that half of the ball could go through a brick before the game recognizes that it made contact, and a ball hitting a corner of a brick would not collide at all. If it's alright, I'm going to work on a PR to fix this behavior.

DhanushNehru commented 2 years ago

Sure @tygee713

selemondev commented 1 year ago

This issue has finally been resolved. Thank you @tygee713 for your contribution ✨.