Hi,
I begin to migrate my code to new cocos2d-x 2.0.2 because I want to use CCEditBox, CCHttpRequest and multi-resolution support
The first problem is
CCMenuItemToggle::create( this,
menu_selector(OptionsScene::musicCallback),
CCMenuItemFont::create( "On" ),
CCMenuItemFont::create( "Off"),
NULL );
I receive this error
no matching function for call to ‘cocos2d::CCMenuItemToggle::create(OptionsScene* const, void (cocos2d::CCObject::), cocos2d::CCMenuItemFont, cocos2d::CCMenuItemFont*, NULL)’
—————-
The second is
laughAnim = CCAnimation::create(arrayOfSpriteLaugh,0.1);
I receive this error
error: no matching function for call to ‘cocos2d::CCAnimation::create(cocos2d::CCArray*&, double)’
how I can correct this?
ps: with the new Iphone 5 release(that has a 4.0" screen), it will make more headache to implement multi-resolution support, since it’s not 960x640 pixels.