Resource update for cocos2d-x game