The code just crashes when an already running particle effect's setVisible property is changed to NO, and later turned to YES. I have been working with ParticleEffects for a while now but never have I faced this error before. I don't know where I am going wrong. Its so frustrating. Please any help would do wonders. Im using cocos2d 2.x, xCode5 and well ofcourse Ive generated my ParticleEffects through ParticleDesigner. Hoping someone will help me out here.Thanks though :)
Asked
Active
Viewed 208 times
0
-
it would help if you could add an exception breakpoint and post fault producing code.. – Abhineet Prasad Sep 15 '14 at 13:18
-
Here you go, this is exactly what it states: *** Assertion failure in -[CCParticleSystemQuad draw], /Users/MacbookPro/Documents/orb/Orb/libs/cocos2d/CCParticleSystemQuad.m:448 – Mohsin Khubaib Ahmed Sep 18 '14 at 11:39
1 Answers
0
I ran into this issue also and found that it was a cocos2d bug. The fix was added here https://github.com/cocos2d/cocos2d-x/pull/6032/files and you can copy the changes if you don't want to update. (Seems to have worked well for me anyways.)

salami
- 141
- 7