This is a simple helper project to ease the creation of Particle Candy effects.
I've been looking for a decent GUI to help me invent particle candy effects and couldn't find anything working, so I decided to go ahead and create my own GUI.
For now it allows to adjust only Particle Type properties [and without fancy FX or fields or anything like that], but if you would like to get more, please let me know.



I've tried my best to put proper & sane min & max values. If there's something not right with them, please let me know.
ver 0.5a
- Fixed issue with stable build incompatibility. Now works fine on both daily and stable builds.
ver 0.5
- Added sliders descriptions (copy from Particle Candy website - hope they don't mind) - toggle it on/off using button at the top
- Added new sliders for emission shape and random motion mode (more coming)
- Added scrollable view to facilitate more sliders and descriptions
- Corrected few slider ranges
ver 0.4
- Added Particle counter
- Added ability to set background image [edit configuration.lua]
ver 0.3
- Fixed issue with Boolean fields
- Added a slider for enabling/disabling color modifications of the used sprite
ver 0.2
- Added configuration.lua file to store default settings
- Added new tab to allow background color changes
- Improved logging to allow easy copy & paste of default values
- Exposed particle image configuration in configuration.lua file
Thanks so much! Way cool!
What about saving and loading effects? Then users could exchange cool effects!
or display different backgrounds? Just an idea :)
Hey guys.
I will try to implement the background change today. Will try to change the logging to something more usable for exchange. Loading and saving using simulator is difficult to make. But I think that doing a simple copy & paste into a .lua file will be enough :)
Version 0.2 is up, enjoy :) [I didn't update the screenshots yet].
If you have other requests - let me know.
I will try to expose in configuration.lua ability to set sprite as background in next version.
Brilliant idea. Thanks for sharing it too.
I've moved repo to a new location on github, so if you've cloned the old one, either replace it or add new origin.
posted this link to my twitter account. exxxxxcellent! thanks!!!
Hi, I am having problems and i am on the latest build on both corona and particle candy.
error:
...-corona-effect-helper-17f9c2f/lib_particle_candy.lua:1049: in function <...-corona-effect-helper-17f9c2f/lib_particle_candy.lua:1042>
?: in function <?:215>
Runtime error
...-corona-effect-helper-17f9c2f/lib_particle_candy.lua:1049: attempt to perform arithmetic on local 'timeScale' (a table value)
Regards, Joakim
Hmm... I haven't seen this before.
I'm using latest particle candy, however I'm not on the latest corona SDK.
Any chance you could test it with build 2011.704?
Could you describe when is this happening?
After changing settings? Or somewhere else?
If after changing settings, could you post them?
Thanks,
Krystian
Crashes for me too. Latest Corona on an iMac.
would you mind trying on 2011.704 and let me know how it went?
I don't have access to the latest Corona SDK so it's difficult for me to debug it.
Once you give me some more information I might be able to do it.
Will need a tester with access to the latest SDK though.
would you mind trying on 2011.704 and let me know how it went?
I don't have access to the latest Corona SDK so it's difficult for me to debug it.
Once you give me some more information I might be able to do it.
Will need a tester with access to the latest SDK though.
Great app! I was always too lazy to make my own and here you've done such a great job!!! Keep it up! I'm enjoying using it so much!!
-Mario
Hi,
new version is up.
Now you can disable and enable color modifications to the sprite set in configuration file.
Another version is up.
I've added particle counter and ability to set image background.
Any chance of adding physics properties to the particles so they can bounce off the sides of the arena?
Awesome work - keep it up :)
Thanks :)
You will have to give me more details ;)
I haven't used any of the physics properties, so it's difficult for me to figure out values and properties for which I could create sliders ;)
Point me into direction and I will do my best to implement it :)
Sorry, I think I was a bit new to the PC thing when I wrote that and was a bit of a knee-jerk.
Are you thinking of implementing any more of the emitter values or developing an FX designer?
If you can point me into something you are interested in I may include it.
It's not a full implementation at the moment, mostly because I've implemented what I needed.
If someone needs something more I'll be happy to add some new functionality.
Hi,
this is really great - I don't know how many cycles of
changing lua code <-> testing particles in simultor
I went through for all my particle effects. Thanks!
It works with the daily builds (I'm using 783), too.
A suggestion:
How about adding the following parameters:
particleTypeSmoke.emissionShape = 1
-- 0 = POINT, 1 = LINE, 2 = RING, 3 = DISC
particleTypeSmoke.emissionRadius = 340
-- LENGTH OF EMISSION LINE
Using these I would have an even better picture of my new particle effects in use.
Best,
Andreas
Hello Andreas,
I'm very happy that you like it. I will do my best to add the feature you requested as soon as I can :)
Take care
Great idea and great code.I bought particule candy months ago and played with it but got chilled by the number of test to do to get interresting particules effects.Thanks for sharing
Suggestion: Put in the particleTypeSmoke.emissionShape and particleTypeSmoke.emissionRadius (most important things missing) and then sell it to X-PRESSIVE.COM, they really should ship your great tool together with their library!
Best,
Andreas
Hey guys,
thanks, I'm very happy you find this piece of code useful.
I will try to implement all of your suggestions this week.
I've been using my tool a lot last few days and have found plenty of things missing or not set up correctly [especially the emission shape and velocity change].
I know Corona a bit more as well now + I have finally been able to afford the subscription so it should be a bit easier to use.
Krystian, would you contact me on horace {aaattt} Gee! mail [the usual] com, please? I have something to discuss which you might be interested in...
Horace I've tried contacting you, but mail got rejected.
You can reach me at krystian (on) clua.in
Hi guys,
version 0.5 is up.
Some of your suggestions made into this commit.
Expect another update soon - plenty of changes coming:
- multiple particle types within single emitter,
- emitter positioning
- sprite/image sheets support
- fx fields [might not make it to the next release]
- physics [might not make it to the next release]
Hope you'll enjoy.
Thanks a lot!
emissionShape and emissionRadius are great!
A few issues still exist, e.g. with:
a)
DefaultProperties.autoOrientation=false
DefaultProperties.useEmitterRotation=false
If you set these in configuration.lua = false they are still true in the app. You have to work the slider back and forth do set these to really false.
b)
If you click "test" a second time, the app crashes.
c)
Some weird thing: my particles are only displayed half the size (on the old iPhone and on iPad) as when I use the same values in my apps. Strange, but right now I don't have the time to look into it.
Thanks a lot for your effort!
Best,
Andreas
Wierd, the latest build doesn't work for me. I get an error:
WARNING: Cannot transition to a scene that does not exist. If you called storybo
ard.removeScene() on a scene that is NOT represented by a module, the scene must
be recreated before transitioning back to it.
I'm using Daily Build: 2012.797
:(
That's when I hit "TEST" and nothing shows onscreen.
-Mario
Hey guys,
I will try to fix issues you have mentioned this evening.
Krystian
That's a brilliant idea - well done and thank you!