使用动画序列图像阵列 [英] Animation using array of images in sequence

查看:142
本文介绍了使用动画序列图像阵列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我想通过在一个序列中打对方后,这些图像一个动画图像阵列。我想重复整个循环几次。我正在开发适用于iPad游戏。推荐给我一个方法来实现在Objective-C的Cocoa框架此功能。

I have an array of images which I want to animate by playing these images one after the other in a sequence. I want to repeat the whole loop several times. I am developing a game for iPad. Suggest to me a method to achieve this functionality in Objective-C with the Cocoa framework.

推荐答案

见<一对 animationImages 属性href=\"http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImageView_Class/Reference/Reference.html\"><$c$c>UIImageView.这很难说,如果它符合你的需要,你不给我们的细节,但它是一个良好的开端。

See the animationImages property of UIImageView. It’s hard to say if it fits your needs as you don’t give us details, but it’s a good start.

这篇关于使用动画序列图像阵列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆