using old version of cocos2d-x