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 

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s