So I ran into this FFParticleSystem Starling extension the other day. And I really liked it. Basically it's an enhanced version of standard version of Starling particle system extension. It supports multiple frames for particles as well as animated particles. You can check the extension here:
But what I was unfortunate to discover was that it does not have any tool to preview or configure actual particle system before adding it to your project. Resource above provides two options:
- Using program from "71squared" which is Mac-only solution.
- Using onebyonedesign's particle designer which does actually compatible with FFPS.
I've made one by myself. It's rather simple solution but it does it's job so I decided to share it. It's an AIR application latest version of which you can grab here:
Also it is open source so you can take a look at the code here:
What main controls does it have?
Program has four following buttons:
Reset - Sets PS directory to default demo.
Browse - Opens PS directory select dialog window.
Open - Opens Windows (or any other OS) explorer window with current selected PS.
Reload - Reloads current selected PS.
How does it work?
When you provide program with path to a folder with PS it first searches for .pex-file with PS definition. Next it tries to find .xml-file and decides it be a descriptor for you atlas. If there's no .xml-file then textures (if many) will be automaticly converted to a texture atlas at runtime. I added this because it's important to me to see how everything looks before packing any resources to an atlas.
How to use it to configure PS?
I've decided not to spend any time on implementing huge GUI. What you do is simply open .pex file in your favorite editor next to my application. Edit the file, save, hit "Reload" button in the application and see the result. Hit "Open" to open folder with current PS's .pex-file.
Hope this software will be useful at least to some of you.
- Michael Trenkler for FFParticleSystem.
- Daniel Sperl for Starling.
- Josh Tynjala for Feathers.
- Guy who made runtime atlas builder (sorry, I don't know your name but you're awesome).