Flint Particle System Forum - Do I NEED multiple emitters for multiple zones? 2011-12-13T09:09:56+00:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Do I NEED multiple emitters for multiple zones? http://flintparticles.org/forum/comments.php?DiscussionID=350&Focus=1189#Comment_1189 2010-04-23T05:47:36+01:00 2011-12-13T09:09:56+00:00 Makoto http://flintparticles.org/forum/account.php?u=360 I have a scene setup where there are 9 MovieClips each containing a GreyScaleZone that the particles will travel to when the MoviClip is clicked and am wondering if there is a way to use a single ... Currently the click handler for each of the 9 MovieClips removes the TweenToZone action and adds the new TweenToZone action to the emitter for the corresponding MovieClip that was clicked, and then calls the emitter to start. This works as expected if the previous particle simulation has completed, but if the previous simulation is still running, the existing particles jump to the coordinate space of the newly clicked MovieClip as the newly clicked MovieClip starts its own particle simulation.
I plan to have 3 different emitters for various effects for each MovieClip and would like to use a single emitter for each type so that I don't have 9 blocks of emitter declarations all being the same (other than the name of the emitter variable).]]>
Do I NEED multiple emitters for multiple zones? http://flintparticles.org/forum/comments.php?DiscussionID=350&Focus=1204#Comment_1204 2010-05-17T22:11:59+01:00 2011-12-13T09:09:56+00:00 Richard http://flintparticles.org/forum/account.php?u=1 You might try calling particle.revive() on all the particles when altering the TweenToZone, and don't call start on the emitter - just let it keep running. Not sure if this will work, but it might. particle.revive() on all the particles when altering the TweenToZone, and don't call start on the emitter - just let it keep running. Not sure if this will work, but it might.]]>