CCParticleSystem crash my app on android

I’m creating a hybrid project IOS-Android project and the Particles works properly in IOS but in android crashes my app. This is my code:

stars = CCParticleSystemQuad::particleWithFile(“Stars2.plist”);
stars~~>setTexture~~>addImage);
stars~~>setPosition);
stars~~>setIsAutoRemoveOnFinish(true);
this->addChild(stars,1);

1 Like

I guess it’s caused by the path of Stars2.plist
Please make sure CCParticleSystemQuad loaded Stars2.plist file successfully.

1 Like

Star2.plist is in assets folder.

1 Like

At the end my CCParticleSystem, doesn’t works because the particledesigner save the plist with  a tiff image as default particle

1 Like

Same problem for me too.

1 Like

I solved using png files as particleTextures, in android you can’t use tiff files. If you use particle designer you can save the embedded texture as png, but sometimes doesn’t works properly. You can edit de plist file, in the last line write the png name file.

I hope is usefully.

P.D. Sorry my english is not good.

1 Like