Base on cocos2dx3.1.1