game-dev

Open full view…

Cocos2d-x version ?

Jean Caras
Fri, 11 Sep 2015 00:20:50 GMT

Please correct me if I'm wrong but the tutorial example seems to use Cocos2-x v2.x, v3.x dropped the CC prefix from Director, Scene etc ...

Nathanael Weiss
Fri, 11 Sep 2015 03:05:04 GMT

The tutorial example does use 3.x. First of all, are we referring to the same page? http://wizardfu.com/book/cocos2d-x/tutorial/ Where do you see CC referenced at? If you are referring to the CC_CALLBACK_2 macro, then yes, that is a valid (non-deprecated) cocos2d-x 3.x callback.