Getting Started with Cocos2d

Step 1: Download Cocos2d from the project website.

Step 2: Unzip the downloaded file in Step 1. If you are running Snow Leopard, it most likely will be in the downloads folder. Move the newly unzipped folder to the Desktop.

Step 3: Open Terminal and change the directory to the cocos2d folder on the desktop.

 cd desktop/cocos2d-iphone-0.8.2

Step 4: Run the install template script.


The process is complete. Startup XCode and have fun!

Share: Share on FacebookShare on Google+Tweet about this on TwitterPin on PinterestEmail this to someone

2 thoughts on “Getting Started with Cocos2d

  1. Matt

    Thank you so much! I am currently running Snow Leopard on my mac mini and I am running XCode version 3.2.6. What I had to do was download a version of Cocos2D that would work with XCode 3.2.6 (It so happened that this was Cocos2S 1.0.0). I opened up terminal, wrote CD, and dragged the Cocos2D folder fro my desktop into terminal. It then wrote the file path itself and I installed it from there by just simply opening up the cocos2D folder, finding the file and dragging it into terminal as well. When I closed out of XCode and reopened it, There was a new tab called user templates and it contained all of the cocos2D templates. I am sooo glad this worked as I have been trying all day to figure out why this wasn’t working.

Leave a Reply

Your email address will not be published. Required fields are marked *