alf
December 5, 2011, 12:54am
1
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
walzer
December 6, 2011, 7:12pm
2
I guess it’s caused by the path of Stars2.plist
Please make sure CCParticleSystemQuad loaded Stars2.plist file successfully.
1 Like
alf
December 7, 2011, 2:11am
3
Star2.plist is in assets folder.
1 Like
alf
December 12, 2011, 11:50am
4
At the end my CCParticleSystem, doesn’t works because the particledesigner save the plist with a tiff image as default particle
1 Like
alf
February 28, 2012, 8:47am
6
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