ActionScript 3.0 :: Flash - Game HitTestObject Error? Aug 17, 2011. I'm new to ActionScript but I've been following Lynda tutorials and tried to tailor them to my game. I simply want to make my character at the top of the screen shoot at enemies b
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 Tutorial hitTestPoint und hitTestObject. In meinem Spiel habe ich eine Person, die schießt und ich brauche, wenn die Kugel etwas trifft, um das Sprite zu löschen. var i = 1; var f:Function; addChild(bullet); bullet.addEventListener(Event
Post a Comment:
Showing 0 Comments: