iPhone Dev: Animating PNG Sequences
Posted
by Franky
on Stack Overflow
See other posts from Stack Overflow
or by Franky
Published on 2010-04-29T03:53:30Z
Indexed on
2010/04/29
3:57 UTC
Read the original article
Hit count: 371
What is the best or recommended technique for animating PNG Sequences.
Heres what I've learned:
Do it Manually
Using MutableArrays containing Strings, you can animate a UIImageView with a timer which increments an index number
UIImage - animation methods
This works, the only problem is to find if an image has completed its animation, you have to check the isAnimating BOOL, and to do that you need a timer.
What is the best and recommended?
Looking to do Oldschool game sprite animations, ie:
Idle Animation
Attack Animation
Walk Animation
ect...
Let me know if any one has something.
@lessfame
© Stack Overflow or respective owner