开发者

animation with images in cocos2d

开发者 https://www.devze.com 2023-02-03 17:04 出处:网络
I have a sequence of images that can be used as 开发者_高级运维an animation if played one after another.

I have a sequence of images that can be used as 开发者_高级运维an animation if played one after another. Which is the most efficient way to accomplish it with cocos2d?

An example would be appreciated!

(I am targeting iPod, iPhone && iPad)


Here is everything you need to know, example code included: http://www.raywenderlich.com/1271/how-to-use-animations-and-sprite-sheets-in-cocos2d


There are examples coming with cocos2d libs. There is an animation example

0

精彩评论

暂无评论...
验证码 换一张
取 消