Archive

Archive for July, 2009

How to Change the Icon of a Project Template

July 31st, 2009 admin No comments

In last article, I presented how to create a Cocos2d project template. In this article, I will show you how to change the icon of a project template. It is a very easy task.

Read more…

Categories: iPhone Development

How to Create Your Own Cocos2d Project Template

July 29th, 2009 admin 5 comments

In this article, I will present how to create your own Cocos2d project template. The version of Cocos2d is 0.8. The approach used in this article can also be applied when creating the project template using other static libraries.

Read more…

Categories: iPhone Development

How to Install Cocos2d 0.8 Project Template

July 28th, 2009 admin 20 comments

Step 1: Download Cocos2d 0.8 Beta project template from here. This template works well for 0.8 beta, rc, and final version.

Read more…

Categories: iPhone Development

Cocos2d – Contact Filter in Box2d

July 27th, 2009 admin No comments

In Box2d, we can easily define what kind of shapes can collide with each other. The shapes that do not collide with each other will overlap. Generally, there are three ways to achieve this:

Read more…

Categories: iPhone Development

Cocos2d – How to Get the Position of Collision in Box2d

July 23rd, 2009 admin 9 comments

In article Cocos2d Example – Box2d, I simply presented how to use Box2d to simulate the physics world. In this article, I will show you how to get the position of collisions. As we know, collisions play an important role in game development. Sometimes we need to make effects or changes when objects collide.

Read more…

Categories: iPhone Development

Cocos2d 0.8 rc Released

July 13th, 2009 admin No comments

Cocos2d 0.8 rc was released today. I tried to compile the example in my last post but encountered three compiling errors (type incompatible) in IntervalAction.m. If you met the same problem, please check out the update r1140. BTW, if you are working with SDK 3.0, you can ignore this.

Categories: iPhone Development

Cocos2d Example – Box2d

July 12th, 2009 admin 19 comments

Another excellent physics simulation library Box2d was integrated into Cocos2d 0.8 Beta. Box2d is written in C++, so if you are familiar with C++, Box2d may be a better choice than Chipmunk because of its object oriented design and interface. In addition, Box2d provides more detailed documentation than Chipmunk in its official website. In this tutorial, I will present how to use Box2d in Cocos2d by rewriting the Bouncing Ball example.

Read more…

Categories: iPhone Development