开发者

UIImage animation

Maybe is there a way to do animation only on one image? So if I have an UIImage and I want to animate it like a wave. Is this possible开发者_Python百科? And if yes, can you give me some examples or a link to start or something like this? (I used google but didn't find any good start link...)


OpenGL ES is another possibility. Apple provide all the code to set up a rendering context.

From there you just need to get your image into a texture, define some vertices (more than just four), and move each vertex on a sine wave.


Yes - you may want to look into cocos2d - http://www.cocos2d-iphone.org

or OpenGL ES as mentioned above

or Quartz

It all depends on what this 'Wave' effect needs to look like, if it's what i think, you couldn't achieve that by using Core Animation, you would need to look in to these suggestions.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜