我怎样才能用两堂课做到最热门
我怎样才能用2个类别进行命中1个类别称为敌人,第二个称为玩家 它们都是 movieclip 类,并且 movieclip 具有以下实例 敌人类别影片剪辑 = Enemy 玩家类 movieclip = 玩家,
你能给我代码吗?我已经被困在这两天了,请帮忙,
谢谢 快男619 actionscript.org 论坛的
how can i make a hitest with 2 classes 1 class is called enemy and the second is called player
they both are movieclip classes and the movieclips have instances of
the enemy class movieclip = Enemy
and the player class movieclip = Player
can you give me the code please ive been stuck on this 2 days now please help
thanks
fastboy619
of the actionscript.org forum
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这很简单。下面是教程的链接以及专门执行此操作的代码教程的摘录:
http://www.foundation-flash.com/tutorials/as3hittesting/
This is very simple. Below is a link to a tutorial + an excerpt from the tutorial of the code that is specifically performing this op:
http://www.foundation-flash.com/tutorials/as3hittesting/