Jump to content
9 posts in this topic

Recommended Posts

Just create a GIF from them and put them into an imageview, then. And you wouldn't need to create different views with the NSTimer method, you would just need one UIImageView and continuously call setImage: to give it the new image.

Yup, there is an easy way to do this. Use UIViews' animation stuff

 

In developer documentation, lookup "setAnimationBeginsFromCurrentState:" all the uiview animation stuff will be there too :rolleyes:

 

Stroke: If you are making a game, having a gif is pointless; it will always display the same thing; you cannot choose how to move it.

Just create a GIF from them and put them into an imageview, then. And you wouldn't need to create different views with the NSTimer method, you would just need one UIImageView and continuously call setImage: to give it the new image.

 

thanks I will try to use what you say, specially setImage!

 

Yup, there is an easy way to do this. Use UIViews' animation stuff

 

In developer documentation, lookup "setAnimationBeginsFromCurrentState:" all the uiview animation stuff will be there too :)

 

Stroke: If you are making a game, having a gif is pointless; it will always display the same thing; you cannot choose how to move it.

 

I had try to read the documentation about setAnimationBeginsFromCurrentState,

 

but I can't find out how to load other images inside,

 

it only work on a single image animation.

 

Do I miss something?

Hmm. I dunno

 

I've never really used OpenGL before, but that may be one of the solutions. That or Quartz.

 

Quartz would be the easiest or even core graphics.

 

Apple has great documentation on all of these

×
×
  • Create New...