Re: iPad frame-by-frame animation
Re: iPad frame-by-frame animation
- Subject: Re: iPad frame-by-frame animation
- From: David Duncan <email@hidden>
- Date: Fri, 5 Nov 2010 09:34:40 -0700
On Nov 4, 2010, at 7:22 PM, Leon Qiao wrote:
> Dear David,
>
> Thanks a lot for your feedback!
> I need to put the animation on the other views with alpha info. So I don't know if I can use the movie.
> And the second method, would you please tell more details?
> Now I'm trying to use the last solution and see if it is acceptable.
Lets say you have a robot with blinking eyes and moving arms, but the rest of the body doesn't change aside from moving from side to side.
You create one image sequence each for the blinking eyes and the moving arms. You create a single image for the body. You put all this in a view hierarchy and move the whole thing from side to side. Done, and in far less memory.
Obviously if your scene is more complex this will require more work, but for many animations of this nature it works well.
--
David Duncan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden