ライブラリからのリンケージを介して MovieClip の複数のインスタンスを配置することにより、それらのインスタンスに hitTestObject を適用する方法を知っている人はいますか?
AS3 でパックマン スタイルのフラッシュ ゲームを作成しています。役に立つかもしれない良いチュートリアルを知っている人がいたら、遠慮なく教えてください。
これらの機能を使用できます
hitTestObject(obj:DisplayObject):Boolean
Evaluates the display object to see if it overlaps or intersects with the obj display object.
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
Evaluates the display object to see if it overlaps or intersects with the point specified by the x and y parameters.
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObject.html