CCAnimation *pAnimation = CCAnimation::create(pArray,0.5f);
when my code run this,there is an error like:
Assertion failed ,why?
CCAnimation *pAnimation = CCAnimation::create(pArray,0.5f);
when my code run this,there is an error like:
Assertion failed ,why?
OK the reason is the 2.1.3 must can’t wirte like that ,we should code like this:
CCAnimation::craeteWithSpriteFrames(pArray,0.5f)