Reputation: 3323
My intention is to 'learn while doing' to create an airplane approaching from a distance, that is on a roller-coaster-like path. It will begin in the distance (small & unrecognizable) and end/stop begin able to read a message/greeting on a window or center of the engine spinner for instance.
At this time, I think the frameworks for doing this are:
What is the highest level that this is possible? Would a higher level be possible if the plane's path came straight? Is there another framework that could be used? (I've read about cocos2d, but prefer to first learn apple's.)
Upvotes: 0
Views: 534
Reputation: 131418
Are you after 2D or 3D animation? If you want 2D, Core Animation is the obvious choice. Core Animation is very powerful, but the Apple documentation is vague at best. The Marcus Zarra Core Animation book is good, but doesn't cover much iOS specific animation code. Both it and the Bill Dudney Core Animation books are in need of updates. Both are worth owning, but both need to be updated and their iOS sections need to be greatly expanded.
If you want 3D animation, with perspective, then OpenGL is about your only choice. OpenGL is a bear to learn however.
Upvotes: 0
Reputation: 4100
There's a new "Animating Images" capability in UIImage. A discussion starts at 16:33 in the WWDC 2011 video: What's New in Cocoa Touch?
This would be similar to providing your application with an 'animated gif', by including only the series of images. No need to create the actual gif.
That allows you to create dynamic images. Then, to animating those (or static images) even further (such as moving them around the screen, sizing them, or changing their alpha translucency), check out the Core Animation WWDC videos and guide:
Core Animation Essentials VideoWWDC 2010
As well as the Core Animation Guide
Upvotes: 1
Reputation: 5157
Ray Wenderlich has some good beginning tutorials for iOS including some basic animation ones.
Check these out: http://www.raywenderlich.com/tutorials
It'd be a good place to start...
Upvotes: 1