Collision detection alternatives to hitTest and hitTestObject

Since ages ago Flash has never had a perfect solution to detect collisions.

The old  HitTest  method from Actionscript 2.0 has been replaced in Actionscript 3.0 by two separated methods hitTestObject and hitTestPoint, but they are still not perfect.

Luckly there are some good alternatives ( depending on your project ). Here’s a list.

Mike Chambers’s BitmapData.hitTest for Collision Detection

Troy Gilbert’s Pixel-Perfect Collision

Corey O’Neil’s  Collision Detection Kit 

 

 

 

 

Leave a comment