Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Does cocos2d (iPhone) have an action/animation to shake/vibrate a CCSprite?

Of course I could build a CCSequence to do that, but I thought that cocos2d may already have such an animation implemented.

EDIT: I found CCShaky3D. It is almost what I was looking for, but, I didn't like it. The shake effect is too smooth. I am trying to reproduce the effect of an earthquake, so my idea is to have something more brute/raw...

share|improve this question
Have you tried the other CCGrid3DActions? If by playing around with the other actions and their parameters you don't find the effect you're looking for, you'll have to write one yourself. cocos2d-iphone.org/api-ref/0.99.5/… – sarahm Aug 1 '11 at 19:26

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.