game framework based on cocos2dx