emmit on rollOver

15 views
Skip to first unread message

Andrew

unread,
Jul 4, 2011, 12:28:00 PM7/4/11
to Stardust Particle Engine
I having issues to emit from a mc on the stage, everything work its
just that on RollOut the current particles on stage remain there, I
was wondering how do you let them finish till their death after i
RollOut the parcticular mc that is emitting.
Regards,
Andres.

Allen Chou

unread,
Jul 4, 2011, 7:43:42 PM7/4/11
to stardust-par...@googlegroups.com
You mean you want to stop particle emission after you roll out the mouse from a certain MC? You can just set the Emitter.clock property to null and stop the emission. Continuing invoking the Emitter.step() method keeps the particle simulation running. You may listen for the Emitter.onEmpty signal to determine when all the particles are dead and removed.
Reply all
Reply to author
Forward
0 new messages