support cocos2dx 3.0