Someone knows on how to use Particle Candy to make things appear to EXPLODE when a button is clicked.
Case 1: When button pressed, make it explode (in a mass of particles)
Case 2: When button pressed, make an on screen object explode (in a mass of particles).
Thank someone to help me with this. I failed to make it work that way.
Comments
here's a basic example I put together using TNT particle engine which is open source.
Using particle candy you would have more options to make the visual effect, and maybe the api is a bit different.
hope this helps
Particles Candy hoped to use but the developer does not respond to mail.
I've been testing with TNT particle and looks very good.
I have a problem when cleaning purposes, when many at once, there are times when the image freezes to explode and is not removed from display. Why is that?
Thanks!
1) too many things happening at the same time:
you can try to delay the explosions a bit with something like
2) you are removing the parent of the emitter or the emitter itself before the particle emission has finished:
if that is the case use the events cast by each emitter to know when you can remove them.
..but there could be other reasons
edit: remember that particles are "heavy" by definition: as general rules keep their lifetimes as short as possible, and limit their number.