cocos2d-x animation extension