In this tutorial, we're going to learn how to create basic AS3 collision detection using the AS3 hitTestObject() method of the MovieClip class. Collision detection refers to the process of checking whether 2 or more objects are hitting each other - if
function mouseUpHandler(evt:MouseEvent):void { var obj = evt.target; // obj.dropTarget will give us the reference to the shape of // the object over which we dropped the circle.
actionscript-3 flash actionscript collision-detection. ... Here is a nice tutorial on it. ... Collision with walls using hitTestObject. 4.
Post a Comment:
Showing 0 Comments: