this project is based on cocos2d-x.