清理 AS3 代码
有人可以帮我清理这个 as3 代码吗?我已经为此工作了几个小时了。应该是火焰喷射器。如果您做不到或不想这样做,那么有人可以给我一个网站的链接,该网站几乎与鼠标移动的含义完全相同。
Will someone help me clean up this as3 code i have been working on this for hours on end. It supposed to be a flamethrower. If you can't do it or don't want to do it than can someone give me a link to a website that is almost exactly like this meaning with the mouse movement thing and stuff.
here is the website http://wonderfl.net/c/6sUl
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不会为你重写代码。不过,我会告诉您需要学习什么才能开发自己的火焰喷射器。这就是您需要的:
一个很好的起点:
构建一个非常简单的火焰喷射器,它只生成红点,这些红点向鼠标所在的位置移动。然后开始尝试让动画在结束时有点不均匀,以便获得更大的粒子分布。然后开始尝试使用不同的精灵而不是红点。
I'm not going to rewrite the code for you. However I will tell you what you need to learn to being able to develop your own flamethrower. This is what you need:
A good starting point:
Build a very simple flamethrower which just generates red dots which moves towards where the mouse is positioned. Then beging to experiment with making the animation a bit uneven when it comes to where it ends so that you get a bigger spread of particles. Then start to experiment with different sprites instead of red dots.