3
votes

I have been working on porting this project over from the old version of cocos2d .99.4 to the new version, 1.0.1.

As you might imagine, the class names and methods have been renamed since then. I have been using this website:

http://www.cocos2d-iphone.org/api-ref/0.99.5/deprecated.html

to figure out which classes and filenames have replaced which, but I am still trying to figure out which classes:

CCSpriteFrame (with the corresponding method 'initWithSpriteFrameName') CCFadeTransition

have been deprecated to, given that at least 7 versions of cocos2d have been released between the current and the engine I was working with.

edit: Figured out the initWithSpriteFrameName method; the correct method for 1.0.1 is initWithFrames:frame delay:delay;

and figured out that CCFadeTransition should be replaced with CCTransitionFade.

1

1 Answers

0
votes

You may be interested in my upgrade guide and here's the list of changes that I had to implement to upgrade my book's source code from cocos2d 0.99.3 to 0.99.5 to 1.0.1.