If this is your first time reading one of my tutorials, you can scroll to the bottom of this thread to find a link to a list of all of my Xcode tutorials.

In this tutorial i'll be teaching you guys how to make a simple game for iPhone, using Cocos2D. What's Cocos2D, you say? It's a template for Xcode, that helps with game creation a lot. So, to follow this tutorial you will need Xcode, of course, and Cocos2D, posted here.

Note: A big thanks to this guy for making this tutorial, i actually didn't make this one. I am borrowing all of the code and images used in this, all credits go to him.

Once you have Cocos2D installed, go to Xcode and start a new project. Find the Cocos2D templates, and select cocos2d_box2d.

You can name it whatever you want, i'll be using FirstGame.

Cleaning Up.

Adding Some Sprites.

Adding The Catapult Arm.

Rotating With Joints.

Pulling The Catapult's Arm.

Ready, Aim, Fire!

Gratuitous Camera Movement.

This will be continued in a second part, that will be posted soon. Thanks for reading, and if you have any questions, post them below.

Go here for all of my tutorials.