Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-15-2011, 09:49 PM   #1 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 42
xcoderx is on a distinguished road
Default adding a complex animation with out using UIImage

i want to create a childrens book like this one:

The Monster At the End of This Book iPad App Review - YouTube

and i wanted to know, How do i create the animations? I have searched and all i can find are creating animations via putting together UIImages and then playing them. But i sure hope i do not have to do this with my whole book. I was wondering if there is another program i could use to create the animation in and then import it into Xcode and then just call it to play. Is this possible? Thanks a bunch!
xcoderx is offline   Reply With Quote
Old 12-16-2011, 09:43 AM   #2 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 10
mikesowerbutts is on a distinguished road
Default

Quote:
Originally Posted by xcoderx View Post
i want to create a childrens book like this one:

The Monster At the End of This Book iPad App Review - YouTube

and i wanted to know, How do i create the animations? I have searched and all i can find are creating animations via putting together UIImages and then playing them. But i sure hope i do not have to do this with my whole book. I was wondering if there is another program i could use to create the animation in and then import it into Xcode and then just call it to play. Is this possible? Thanks a bunch!
Hi,

I have created a video, which is essentially an animation created in Flash, then exported to a .mov file and then played through a MPMoviePlayerController object. If you have 1 animation per page, then I would suggest adding a movie player controller to each UIView in your book and playing the appropriate video file.
mikesowerbutts is offline   Reply With Quote
Old 12-16-2011, 02:28 PM   #3 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,005
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by xcoderx View Post
i want to create a childrens book like this one:

The Monster At the End of This Book iPad App Review - YouTube

and i wanted to know, How do i create the animations? I have searched and all i can find are creating animations via putting together UIImages and then playing them. But i sure hope i do not have to do this with my whole book. I was wondering if there is another program i could use to create the animation in and then import it into Xcode and then just call it to play. Is this possible? Thanks a bunch!
It looks to me like that app is essentially a QuickTime movie with page transitions and some clickable buttons that trigger specific animations.

You could probably create a much more effective version using a package like Cocos2D.


The best way to do the kinds of character animation in that book is to use Skeletal animation, also known as bone animation. I don't know if there are any Skeletal animation frameworks available in open source for Mac OS. I did a little searching, and found people playing with the idea in Cocos2d, as well as Jeff Lamarche's blog posts on the subject. He says he's working on some cross-platform C libraries for that that he is planning to offer under an open source license.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is online now   Reply With Quote
Reply

Bookmarks

Tags
cocoa touch, ipad & iphone, iphone, objectiv-c

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 396
13 members and 383 guests
7twenty7, AppsBlogger, Creativ, Dalia, David-T, Duncan C, HemiMG, heshiming, LunarMoon, Murphy, pbart, teebee74, Tomsky
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,676
Threads: 94,127
Posts: 402,915
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jleannex55
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:49 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0