cocos2dx 3.1.1 practice