How do I break an image into 6 or 8 pieces of different shapes?

Posted by Anil gupta on Game Development See other posts from Game Development or by Anil gupta
Published on 2012-04-18T21:34:37Z Indexed on 2012/11/29 23:22 UTC
Read the original article Hit count: 462

Filed under:
|
|

I am working on puzzle game, where the player can select an image from iPhone photo gallery. The selected image will save in puzzle page and after 3 second wait the selected image will be broken into 6 or 8 parts of different shapes. Then player will arrange these broken parts of images to make the original image.

I am not getting idea how to break the image and merged so that player arrange the broken part. I want to break image like this below frame. I am developing this game in cocos2d.

enter image description here

© Game Development or respective owner

Related posts about ios

Related posts about cocos2d-iphone