How to create a new project in box2d?

 

After installing cocos2d, take xcode go to File -> New Project. From the window which appears, select the cocos2d version you have installed from User Templates on left panel. Select cocos2d Box2d Application on the right panel and select Choose.

 

selecting box2d project

 

Give a name for your project and save the project.

After the project is open, you run the project using the Build and Run option.

You should get a Black screen with the label Tap Screen and a block, which is a box2d body in it.

 

box2d output

 

Now your system is ready for creating box2d projects.


HomeHome

Cart  

(empty)