Im curious about that.
I Want to Pay You To Improve the Particle System(101 posts) (30 voices)
there'll definitely be an update. I just hope you're not too much in a hurry. My first vacation after almost two years starts today and I forbid myself to code for the next week.
Thanks shin! We really appreciate your work.
Thanks a lot!!
@shin10 Hi, any news on migrating FFParticleSystem to Starling 2.0?
Will there be a migration or was the idea abandoned?
P.S Sorry for bumping this thread twice, but I really need to know and there's no answer anywhere.
Hi, it's definitely in the pipe. Currently it's working, but proper gc still has to be done. If you're fine with niantic-quality I can send you a copy.
But there'll be some minor breaking changes.
That's great to hear I almost lost hope.
Any idea how long it'd take before it's ready? Days? Weeks? Months?
Let's say a week. Fingers crossed.
so I just committed to github. Documentation hasn't been updated and there are some files I added for testing. So I'm calling this more an alpha version, but have a try.
The system is using styles/effects now, like other Starling DisplayObjects for rendering. I added a style for mobile devices to use drawTrianglesInstanced. That's why you'll have to initialize the system a little differently than in previous versions.
FFParticleSystem.initPool(4096, false); FFParticleSystem.defaultStyle.effectType.createBuffers(4096, 16);
And don't forget to dispose the buffers of the effect later on.
FFParticleSystem.styles is a list of styles that will get tested by the first call of FFParticleSystem.defaultStyle. You can either manipulate this list beforehand or manually set the defaultStyle. Of course you should be able to write custom styles/effects and use different styles on each system as well.
That's it for now.
ps: to use instanced drawing, you'll have to use the latest version of the AGALMiniAssembler, which currently isn't part of Starling. https://github.com/adobe-flash/graphicscorelib/blob/master/src/com/adobe/utils/v3/AGALMiniAssembler.as
I added the file to the sources, but you'll have to update it within Starling yourself.
Ah, and I changed the package structure, but that shouldn't be a big deal.
You must log in to post.