CCParticleSystemQuad drop frame even when stopped

Hi guys,

I design a particle in Particle Designer.
When I add the particle to my game, the framerate drops down to 47fps\ .\
Even\ if\ I\ call\ stopSystem\ and\ the\ particle\ disappeared\ completely\ on\ the\ screen,\ framerate\ still\ remains\ at
47fps.

Please help. Thank you :slight_smile:


Screen Shot 2013-04-08 at 5.57.37 PM.png (327.2 KB)


weapon-go-through-particle.plist.zip (6.1 KB)

Try to use removeChild on the particle or the setAutoRemoveOnFinish(true) method.
Put the code that you use, it’ll be easier to help you.

Fabio Cunha wrote:

Try to use removeChild on the particle or the setAutoRemoveOnFinish(true) method.
Put the code that you use, it’ll be easier to help you.

Thanks, Fabio Cunha,

I don’t want to remove the particle system, just one attempt to stop it to find out why it causes the game to drop frame.

Here’s my code, I think it’s kinda normal stuff

CCParticleSystemQuad *system = CCParticleSystemQuad::create("weapons/weapon-go-through-particle.plist");
system->setPositionType(kCCPositionTypeFree);
pParentNode->addChild(system);
// system->stopSystem();

Before creating particle:

After creeating particle (call stopSystem() makes no different)

I don’t know exactly how stopSystem() works, but if you don’t want to remove the particle. I think the process will still consuming resources.

Remove the particle and add it again is an option?
If not, unfortunately, I don’t know a way to help you.

ps: How you create this processament graphics?

Stefan Nguyen wrote:

Hi guys,
>
I design a particle in Particle Designer.
When I add the particle to my game, the framerate drops down to 47fps\ .\
>\ Even\ if\ I\ call\ stopSystem\ and\ the\ particle\ disappeared\ completely\ on\ the\ screen,\ framerate\ still\ remains\ at
47fps.
>
Please help. Thank you :slight_smile:
Hello.i have encountered the same problem. do you have sloved the problem? How? thanks.

Hmm… I wonder what program is it that Stefan Nguyen is using? I been wondering how to get the check how much everything is using?