Our fruits will be able to be cut multiple times, and they will be divided dynamically based on the exact cut lines!Īs you might imagine, this is an advanced technique, so this tutorial is for advanced Cocos2D and Box2D developers. In most slicing games, when you draw a cut line through a sprite, the game typically converts the sprite image into two pre-drawn sprite images with the slice always down the middle, regardless of where you actually cut.īut this tutorial will demonstrate an even cooler technique. In this tutorial, you’ll learn how to make a sprite cutting game for the iPhone similar to Fruit Ninja by Halfbrick Studios using the powerful Cocos2D and Box2D libraries along with some pre-made tools. You can also find him on Google+ and Twitter. This is a post by iOS Tutorial Team Member Allen Tan, an iOS developer and co-founder at White Widget.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |