Stephen
Stephen

Reputation: 499

Which is more optimized for PNG animations Cocos2d or UIImageView?

I am needing to run through a series of full screen PNGs and I am wondering which would be more optimized out of using UIImageView animations or Cocos2d animations (I can't use a sprite sheet in Cocos2d because the PNGs are to large) So just running single PNGs through an animation which would be a better choice?

Upvotes: 0

Views: 293

Answers (1)

YvesLeBorg
YvesLeBorg

Reputation: 9079

try using a .pvr.ccz format (instead of PNG), especially in the context of running an animation while loading frame by frame. That format's load performance is the best, AFAI know (have measured). Also, it will tend to thin-out your app's bundle size.

if you use TexturePacker, you will be able to do this handily, with NPOT textures (good for 'in core' memory consumption).

Upvotes: 1

Related Questions