1

Well, I was searching for a simple collision detection function for as3, I found Collision Detection Kit, but it is too complicated, I just want a damn function that I give 2 objects as paramenters and that's it.

I would like to know where can I find a pixel-perfect collision detection function (The faster, the better)

2 Answers 2

1

Well, after reaching 6th page on google, I found a perfect solution:

http://anotherearlymorning.com/files/PixelPerfectCollisionDetection.as

Sign up to request clarification or add additional context in comments.

Comments

0

What about the hitTest method of the MovieClip class, if you want something simple?

EDIT: in AS3, you have hitTestObject and hitTestPoint.

1 Comment

I want a pixel perfect function