maniclorn
maniclorn

Reputation: 1089

show only specified area of image on iphone

By displaying all the boxes one by one in sequence a Dancing Girl can be animated.

I want to create an animation from a single image. Typically by displaying cropped part of image on the output canvas/box. Should I use CIcrop or anyother techniques and idea to do it.

Thanks.

Upvotes: 2

Views: 417

Answers (1)

Vlad Z.
Vlad Z.

Reputation: 3451

If you don't want to use cocos2D framework you can use something like "flip book animations".

This method is quite well described in the book PJ Cabrera - Beginning iPhone Games Development 2010 in chapter 4: "She Shoots, She Hits, She Scores!"

You can also find source code of ch.4 in Source Code/Downloads tab

Upvotes: 1

Related Questions