Jump to content
  • Advertisement
Sign in to follow this  

Collision point on a Breakout game

This topic is 2889 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey everyone!

I'm trying to reproduce a Breakout game.

I easily figured out how to do collisions between my ball and the bricks (using a rectangle collision algorithm), but I can't figure out where the collision happens. I can't find any good tutorials on how to know where the collision happened.
The easiest way for me would be to know in which size of the brick the collision happened.

Does anyone has any good links?

Thanks a lot!

Share this post

Link to post
Share on other sites
It does depend on the software you used to program your game with or what your Engine is made of.

Because each game-development software hasing different sources, for example:

• Game Maker:


• C++:



I could help you if you post what software you used.


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!