Archive for the 'Collision Detection' Category

Circle Line Collision Detection
Monday, May 28th, 2007

Made famous in Pong and other paddle like games, frame independent Circle Line detection is quite handy. It can also be used to oddly shaped game pieces and when a plane is broken, a collision is detected. However, I have not found a consistent means of pulling this off if the object is […]

Rectangle Rectangle Collision Detection
Wednesday, May 23rd, 2007

Another form of collision detection which some might think is like hitTest() but this is done purely by math. Again, this code is taken from Jobe Makar’s book Gaming Demystified for Flash MX 2004 book but refactored to be OOP and a static class. What you need to pass into this is an […]

Circle Circle Collision Detection
Monday, May 21st, 2007

I am going to be blogging on all kinds of collision detection over… well… over the life of this blog probably, as it’s such a hot topic and a difficult one at times.
First I am going to tackle Circle Circle collision detection. Now I will be honest and say that I really […]