A cocos2d-x 2.2 improved version.