Cocos2dx version 3.0 upgrade