1

I'm fairly new to developing with apple and everything and I just recently got into spritebuilder (or formerly known cocosbuilder) There is this problem that is just boggling my mind.

From this line in XCode:

[_bird runAction:[CCSequence actions:bird_floatAnimation,nil];

when I type CCSequence just about anywhere I get unknown reciever ccsequence, did you mean ccbsequence? same thing with CCRepeatForever. Funny thing is that I can use CCActionMoveTo and CCActionMoveBy and run it and it works fine.

So what happened? This is driving me insane. I am using SpriteBuilder 1.0 with Cocos2d v3.

4

1 回答 1

3

解决办法就是这么简单!在 spritebuilder 论坛上找到了答案

对于我的误解和无知,从 cocos2d v3 开始,一些类和方法已被重命名为 so 而不是CCSequence它的CCActionSeqence..

惊人..

于 2014-02-03T01:46:37.220 回答