A look at Animal Alphabet HD
Join the DZone community and get the full member experience.Join For Free
while rapture in venice is technical consulting i do in addition to full-time mobile work during the day, that doesn’t mean i can’t take it three levels deep and rendezvous elsewhere, right?
on september 29th, i got this unsolicited email from paul millman, chief chipmunk of ftm (no, really, that’s his title):
john, we’re looking for an iphone/ipad developer, who is also a dad, to join our new two-member company fish the mouse media.
my expertise is not only in the creative and architectural process of developing apps, but also marketing and as a business manager. for old mac hd each interactive scene was hand-painted on canvas by internationally acclaimed artist norm magnusson (work in moma permanent collection), and original renditions of the old mac song were recorded in english by pop vocalist jill sobule, and in french by dominique durand of the indie band ivy. all of this was produced under my direction.
our second app, the animal alphabet is now ready for to go and we’re looking for a developer for this app…
the developer on their original app couldn’t commit the time for the new app and he was looking for someone who could do the job.
the email couldn’t have come at a better time. i was mired in a nightmare project at effectiveui and i had no current contract work going on with riv. i got back to paul and eventually asked to see the specs for animal alphabet. i was floored! the app was fully designed — and huge! a 36-page pdf full of graphics and specs. as excited as i was to take this project on, i was terrified of the time commitment i would have to make.
i spent a few days considering whether to join up or not. i actually put together an implementation plan of how i was going to accomplish it so i could determine if i should. the big decision was whether to dive into cocos2d or stick to the ios sdk. i’d always wanted to learn cocos2d and even hit up some 360 idev talks, but it was a risky technical decision to have to make considering my lack of experience. i was able to get a look see at their previous app, old macdonald hd , and was horrified at the work the previous developer had to do to get a far smaller set of animations to work. using the uikit was even riskier!
no wonder he wasn’t going to commit to this one.
ultimately, i decided to go the cocos2d route and take the project! i still remember the excitement of the early days when i got the angelfish working (it’s the first letter page — being a and all) and seeing it run on the ipad. i knew i’d made the right choice and was glad to have it confirmed. and every letter after that got more and more fun, but wow what a lot of work.
it’s been a tough road. just a few weeks after taking it on, michele (5 months pregnant at the time) went on bedrest for 3 months and i had to simultaneously juggle a full-time job, contract work (i took on two more projects in addition to aa), and take care of our two young kids while michele was basically bed-ridden. i even came close to quitting the project a couple times simply because i was going insane.
it was all worth it, though. i hope that if you treat your kids to it, they’ll love it, but not only that, i hope you love it, too!
a little note on how it’s done…
for the developers out there who may be curious about the technology behind animal alphabet hd, here’s how it’s done…
the core architecture is cocos2d, an excellent animation library for ios that was originally ported from python. the api is well-designed and makes coordinating a huge assortment of sequenced animations a piece of cake. (if you haven’t used cocos2d, i assure you that someone needs to port the actions api to uikit!)
in addition, i use iboost , a sidekick ios library i’ve led development on that adds all sorts of useful categories and macros to the base sdk. highly recommended of course.
and, of course, there’s flurry for analytics. we’re keeping track of what the most popular letters are. so, for example, if you keep navigating to q, you’ll probably see more jumping animals in future iterations.
in terms of cocos2d construction, every letter is its own scene. they’re all based on a common scene that implements much of the shared functionality. each letter scene has the bird game where you get the letter flag into the magic hat using the ipad’s accelerometer. the letter navigation selector is shared across all the scenes as well, reattaching as you go.
i also had to wrap the simpleaudioengine so that i could stop all sounds when a letter scene exits while keeping the background music playing. (cocos2d doesn’t have a stopallsoundeffects call that’s separate from the background music.) i was really impressed with how you construct animations, though. sequences and parallel actions, just like my old friend, flex.
and there you go. animal alphabet will see updates, including an eventual port to iphone, in the future. can’t wait.
Published at DZone with permission of John Blanco, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.