Cocos2d 爆炸环粒子效果
我发现爆炸环粒子效果最适合我的需要,但我不知道如何控制该粒子效果的爆炸半径。即:不爆炸整个屏幕,而只爆炸一个小圆圈
有人知道该怎么做吗?
提前致谢
I found the Exploding Ring particle effect best suite what I need but I could not figure out how to control the blast radius of this particle effect. I.e: not exploding out the whole screen but only exploding in a small circle
Does anyone know how to do it?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最简单的方法可能是使用粒子设计器 (http://articledesigner.71squared.com/)。它具有完整的 Cocos2D 支持,您可以使用编辑器直观地看到您想要的内容,而无需编写代码。您可以在 http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:粒子?s[]=粒子。希望有帮助!
Probably easiest method is to use Particle Designer (http://particledesigner.71squared.com/). It has full Cocos2D support and you can visually see what you want with the editor without having to code it. You can see how to integrate the export files at http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:particles?s[]=particle. Hope that helps!