i want to ask something, i’ update my cocos2d-x version to cocos2d-x 2.1.5,but there is an error when i use ccsequence with ccrepeatforever. My code is like this:
CCSequence* seq = CCSequence ::create(
CCScaleTo::create(0.6, 0.99, 1.01f),
CCScaleTo::create(0.6, 1.01, 0.99f),NULL);
CCSequence * seq2 = CCSequence ::create(seq, seq);
CCRepeatForever * rep = CCRepeatForever::create(seq2);
sprite~~>runAction;
And the error is in CCActionInterval.cpp, here:
// Last action found and it is done
if
{
m_pActions[found]~~>startWithTarget(m_pTarget);
}
Thread 1: EXC_BAD_ACCESS(code=1, address=0x1b)
maybe someone can help me, thanks