Author Archives: admin

RPG Battle in cocos2d part two.

This post is a continuation of RPG Battle in cocos2d part one. We are going to add a random attack strength with in a given range, a critical attack and an animation for the attacks.

Posted in cocos2d | 12 Comments

error: There is no SDK with the name or path ‘iphoneos4.0′

This post will show you how to fix this error.

Posted in cocos2d, Errors | 1 Comment

Why oh why do I have a memory leek.

This post will not tell you how to find and fix your memory leek but I intend to show you the most common cause of a memory leek.

Posted in cocos2d | 5 Comments

Adding a pause menu 2 in cocos2d

I found a bug in the pause menu. If you let the iphone or ipod touch rest so that you have to unlock it the game will resume but the pause screen will still be up. This will show you … Continue reading

Posted in cocos2d | 5 Comments

Labels in cocos2d

This tutorial will show you how to initialize a Label, change its position, change its color, and change what is displayed in the label.

Posted in cocos2d | 1 Comment

Random numbers

To create a random number you use this line of code. int Number= (arc4random() % ModNumber)+Firstnumber; so this is relatively simple, arc4ramdom() will create a random int -2147483648 to 2147483647. Then we mod, when we mod an integer it gives … Continue reading

Posted in cocos2d | Leave a comment

RPG Battle in cocos2d part one.

We will be creating a battle scene that could be used in an rpg game.

Posted in cocos2d | 8 Comments

What you need to create an iphone game.

What you need to create an iphone game. An original idea, Game play, Sound, Graphics, Story, An original idea Everything about your game does not have to be original, but the main theme of your game should be. One game … Continue reading

Posted in cocos2d | 2 Comments

Making it rain in Cocos2d

Read this tutorial to learn how to make it rain using particles in cocos2d.

Posted in cocos2d | 7 Comments

Explosions with Cocos2d

With this tutorial you will learn how to create a function that will play an animation like an explosion at a point you give it. In this example the explosion will be played at a touched location.

Posted in cocos2d | 2 Comments