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!
Collision point on a Breakout game
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:
--GML
• C++:
--C#
etc.
I could help you if you post what software you used.
-SoulStudios-
Because each game-development software hasing different sources, for example:
• Game Maker:
--GML
• C++:
--C#
etc.
I could help you if you post what software you used.
-SoulStudios-
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement