Flint Particle System Forum - Stop only the creation of new particles? 2010-12-26T18:52:29+00:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Stop only the creation of new particles? http://flintparticles.org/forum/comments.php?DiscussionID=235&Focus=854#Comment_854 2009-07-10T16:19:57+01:00 2010-12-26T18:52:29+00:00 giraz http://flintparticles.org/forum/account.php?u=171 Hello everybody and thanks for this amazing system. Here is my question, how do I tell an emitter to stop creating new particles until I ask it to start again? If I write ...
Here is my question, how do I tell an emitter to stop creating new particles until I ask it to start again?

If I write "emitter.pause()" it will also freeze all the existing particles whilst instead I just want the emitter to pause the creation of new particles.

Thanks
Riccardo

p.s. - also is there any way to perform action with particles depending on their age?]]>
Stop only the creation of new particles? http://flintparticles.org/forum/comments.php?DiscussionID=235&Focus=857#Comment_857 2009-07-11T17:48:50+01:00 2010-12-26T18:52:29+00:00 Richard http://flintparticles.org/forum/account.php?u=1 Hi Riccardo To stop stop creating new particles, stop the emitter's counter - emitter.counter.stop(); Then to start again, resume the counter emitter.counter.resume(); Regarding ...
To stop stop creating new particles, stop the emitter's counter -

emitter.counter.stop();

Then to start again, resume the counter

emitter.counter.resume();

Regarding actions dependent on a particle's age -
A number of actions, like TweenPosition, Fade, ColorChange, are based on the particle's age. Take a look at the source for any of these for ideas on writing custom actions based on the particle's age.]]>
Stop only the creation of new particles? http://flintparticles.org/forum/comments.php?DiscussionID=235&Focus=860#Comment_860 2009-07-13T17:12:02+01:00 2010-12-26T18:52:29+00:00 giraz http://flintparticles.org/forum/account.php?u=171 Thanks Richard!