Is it possible to stop and start an EmitterObject without it deleting the previously emitted particles?

Hello, quick question about the EmitterObject API.

Here’s a case (v2014.2458):

Step 1. Start EmitterObject (E1)

Step 2. Stop E1 --> particles continue naturally

Step 3. Start E1 --> particles that were continuing naturally get deleted immediately and new particles start getting emitted

Is this the proper behavior? Is there a way for the particles to not get deleted? 

Thank you!

Hi,

Try pause and see if that does what you want.

http://docs.coronalabs.com/api/type/EmitterObject/pause.html

Cheers.

Also, I am fairly sure you can just use start() without stopping first, as an option.

Cheers.

Thank you for the response.

Unfortunately, pause does not allow current particles to continue naturally. Instead, it pauses the particles in their current place.

I’d like the particles to continue naturally, which stop allows. Unfortunately, if I perform the case above though, Step 3 (starting the emitter again) removes all the particles previously created.

Regarding using start() without stopping first, in my case, I’d like to stop the emitter for a little bit. But, with the chance to start it again before the particles have been killed.

I see.  Maybe switching between 2 emitters?  Not ideal, but might be able to achieve the result.

Cheers.

Hi,

Try pause and see if that does what you want.

http://docs.coronalabs.com/api/type/EmitterObject/pause.html

Cheers.

Also, I am fairly sure you can just use start() without stopping first, as an option.

Cheers.

Thank you for the response.

Unfortunately, pause does not allow current particles to continue naturally. Instead, it pauses the particles in their current place.

I’d like the particles to continue naturally, which stop allows. Unfortunately, if I perform the case above though, Step 3 (starting the emitter again) removes all the particles previously created.

Regarding using start() without stopping first, in my case, I’d like to stop the emitter for a little bit. But, with the chance to start it again before the particles have been killed.

I see.  Maybe switching between 2 emitters?  Not ideal, but might be able to achieve the result.

Cheers.