本来想实现的是,砸下去的效果,结果发现效果不好,于是就有个现在这个效果:
sprite:setScale(1.5) local scaleAction = CCScaleTo:create(1,1) local easeSineInAction = CCEaseElasticOut:create(scaleAction) sprite:runAction(easeSineInAction)