“Be inspired, enjoy your work, keep learning and never forget to play.” — gskinner

hitTestObjects

Posted: March 28th, 2008 | Author: Ivan Valadares | Filed under: Actionscript3, Code | 2 Comments »

This function can be used to test a hit between a displayObject with an amount of displaysObjects (Array). It will return the displayObject where the biggest contact area occurred. Note: it uses the bounding boxes.

hittestobjects.swf

hittestobjects.zip


2 Comments on “hitTestObjects”

  1. 1 Cédric Tabin said at 9:55 am on March 29th, 2008:

    Hi,

    Yeah that’s cool ! I just released a (very) little API about Drag and Drop into a delimited area (that can be used on any possible area such as circles) : http://www.astorm.ch/blog/index.php?post/2008/03/23/Drag-limite-sur-une-zone.

    @++

  2. 2 BadGirl62 said at 8:03 pm on October 22nd, 2009:

    Smash was a really great album by the Offspring. ,


Leave a Reply