I’ve added directories for several stages of the development process containing the results you should achieve. Your starting point will be 0-BaseProject, which contains the basic Cocos2d setup and some integrated assets. To get started, download the tutorial source code and unzip it into your preferred location. It has a resolution of 1136×640 pixels – which means that you have to fill an additional 176 pixels in the width. With iPhone 5 you have a new wider aspect ration to deal with (16:9). When this tutorial was first written, iPhone 5 was not available yet, so the tutorial only had to support a single aspect ratio (3:2, or 960×640 pixels on retina devices). The score will be displayed in the top-right corner, and will be at the height of the highest item on the stack. There will be two sorts of items: those that hurt the monkey, and those that heal him – namely, bananas! The monkey’s health will be displayed in the top-left corner as a bar of bananas. Items will pile up, and the monkey must stay on top to stay alive. You will have a drop indicator to show the player where the next item will fall. The monkey will jump when the screen is tapped.ĭuring the game, items will drop from the top of the screen, and the dropping frequency will increase the longer the game continues. You’ll control his movement with the accelerometer – that is, by tilting the iPhone or iPad left and right. Let me give you a brief overview of how the game will work.Īs you’ve seen, your main character will be a monkey. Ready to make that monkey jump? Keep reading to get started!īefore diving into code, it’s best to think about the design of the game first. The trial versions work well with the tutorial. To go through this tutorial you can use an evaluation version from TexturePacker and PhysicsEditor. You will also need a copy of TexturePacker and PhysicsEditor. If you are new to Cocos2d, check out some of the other tutorials on this site first. To go through this tutorial, you should have some basic familiarity with Cocos2d. To see what I mean, check out this cool video:īy the end of this tutorial, you’ll have created a cool physics-enabled game, and learned how using TexturePacker and PhysicsEditor can save you a ton of development time. He’s just minding his own business, but these crazy objects keep falling from the sky! In this tutorial, you’ll learn how to make a game about a monkey having a rough day. Update : Updated for Cocos2D 2.X and latest version of Texture Packer and Physics Editor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |