edhnb
edhnb

Reputation: 2192

Converting UIImage animation to use Cocos2d sprite animation

I have an app that uses UIImage animation, and the timing of the animation is inconsistent. I would like to convert over to using sprite animation with cocos2d.

Can I add this functionality to my existing project? Are there any good tutorials on how to add Cocos2d to an existing project?

Upvotes: 0

Views: 270

Answers (1)

bensnider
bensnider

Reputation: 3772

I've seen people just use Cocos2D inside an EAGLView with good results. This fellow seems to have got it working. Having said that, I would probably try to optimize your UIImage animation. Using PNGs is generally faster, and try to scale your animation image frames to the exact display size. And, make sure your animation frame rate isn't above 30 or so.

Upvotes: 1

Related Questions