Native Particle Engine

Hello,

I would like to propose a new feature on Corona which is Native Particle Engine. Sure, there exist solution for particle engine built by community such as Particle Candy. But particle engine is a heavy performance-draining codes, it is achievable using pure lua. But if you want to get many more particles, you must go native. Just like you wont implement Box2D in full lua.

Or is it achievable with enabling OpenGL shader support just like you said on “Future” Corona’s roadmap ;)?

What do you guys think? [import]uid: 41267 topic_id: 14762 reply_id: 314762[/import]

I would say this is not a top priority. There are a lot of other things that need to be taken care of. For example, in-app purchase support, InMobi enhancements (performance, stability), AdMob support.

Currently you can emulate particles quite easily with transitions and spritesheets. Corona handles about 30 simultaneous transitions without slowdown on Android 1Ghz phones (probably more on iPhone 4). And even more playing sprite instances. With proper degradation rules (to stay below certain number of transitions at any given time) you can have a lot of effects happening and it will look amazing :slight_smile:

[import]uid: 52103 topic_id: 14762 reply_id: 54595[/import]

@vitalyx yes this one currently should not be a top priority. However, with limited particles budget, creating same particle effect which require many more particles is hard, and usually the end result is not what we intended. Corona is growing, and even if it’s not a top priority at the moment, hopefully in the future, it could be one of default package from Corona, just like Unity.

Don’t worry, nothing is perfect, and Corona devs are creative bunch of guys who push the limitation of Corona till the end :slight_smile:
[import]uid: 41267 topic_id: 14762 reply_id: 54666[/import]