pSprite->setAnchorPoint(CCPoint(,));
pSprite->setPosition(CCPoint(,));
CCFiniteTimeAction* pAcion = CCEaseElasticOut::actionWithAction(
CCMoveTo::create(1.0f,CCPoint(,)),0.6f);//通过第二个参数来调整振幅,或者速度,值越大越慢振幅越小
pSprite->runAction( CCRepeatForever::create(
(CCActionInterval *)CCSequence::create(pAcion,CCMoveTo::create(0.5f,ccp(,)),
NULL)));