Hello guy,
I’m newer in cocos2d.And I met a problem when I programming
I write code like this:
CCCallFuncN *back = new CCCallFuncN;
back~~>initWithTarget);
float duration = .width / 2 + size.width /2) / 30;
bk1~~>runAction(CCSequence::actions(CCMoveTo::actionWithDuration(duration,
ccp(bk1>getContentSize().width / 2, size.height / 2)),
back));
but the vs2012 throw an problem at CCAction
but when I change the back to NULL the problem didn’t happen
QQ截图20121121105642.png (11.1 KB)