# Pixel Perfect Collision Detection

**URL:** <https://forum.kirupa.com/t/pixel-perfect-collision-detection/292221>\
**Category:** flash\
**Created:** [July 11, 2009, 8:23pm UTC](https://forum.kirupa.com/t/pixel-perfect-collision-detection/292221 "2009-07-11T20:23:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrMaxMad](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@DrMaxMad](https://forum.kirupa.com/u/DrMaxMad)\
**Post date:** [July 11, 2009, 8:23pm UTC](https://forum.kirupa.com/t/pixel-perfect-collision-detection/292221/1 "2009-07-11T20:23:30Z")

</div>

Hi there,  
guys i need build pixel based collision dectection class , i have found some classes already built by different people and they are really usefull, but as i want to build one of my own, i need to know basic theory behind that, can some be so nice to explain how can i build it…

here is the link to classes i found on web…  
[http://troygilbert.com/2007/06/pixel-perfect-collision-detection-in-actionscript3/](http://troygilbert.com/2007/06/pixel-perfect-collision-detection-in-actionscript3/)

[http://www.adventuresinactionscript.com/blog/15-03-2008/actionscript-3-hittestobject-and-pixel-perfect-collision-detection?page=2](http://www.adventuresinactionscript.com/blog/15-03-2008/actionscript-3-hittestobject-and-pixel-perfect-collision-detection?page=2)

[http://www.tink.ws/blog/as-30-hittest/](http://www.tink.ws/blog/as-30-hittest/)

thanks in advance…=)
