Hi,
I am done with game on iOS front which working fine with Cocos2D-x 2.0.2, now I want to convert it to android platform for Cocos2d-x 2.0.3.
This is first type I am trying to convert iOS project to Android platform & done with most of the things, but receiving following errors on function calling:
*
1st type Error :*
Function calling :
this->schedule(cocos2d::SEL_SCHEDULE(&MenuLayer::addFogAnim),1.0);
Error:
Error 9 error C2440: ‘’ : cannot convert from ‘void (**thiscall MenuLayer::* )’ to ’cocos2d::SEL_SCHEDULE’ d:2d-2.0-x-2.0.3 .win32\menulayer.cpp 101 1 xyz.win32
2nd type Error :
Function calling :
CCFiniteTimeAction *myAction= CCSequence::actions,
CCCallFuncN::create),
CCCallFuncN::create),
NULL);
Error:
Error 20 error C2440:’‘: cannot convert from ’void (__thiscall MenuLayer::* )(cocos2d::CCObject *)’ to ‘cocos2d::SEL_CallFuncN’ d:2d-2.0-x-2.0.3\proj.win32\menulayer.cpp 1355 1 xyz.win32
Please help me out if you have any idea about this errors, I can’t move ahead without solving it.
Thanks,
Paresh