Reference project from Cocos2d-x