Tuesday, November 20, 2012

Cocos2d For Mac

   Create a folder say(Cocos2DGame) where you want to download a copy of   Cocos2d:
   On your Terminal,
> git clone git://github.com/cocos2d/cocos2d-iphone.git

After this command a copy of Cocos2d will exist in Cocos2DGame folder. You need to step into Cocos2DGame folder by doing 
>cd Cocos2DGame
>git checkout develop

You need to install the cocos2d Mac Template in XCode
>sudo ./install-templates.sh

Now when you start a new project in Xcode, you will see the installed Cocos2d for Mac .



Note: You need to install git on your Mac Machine before you can run those git commands given above.

Download and Install dmg
http://code.google.com/p/git-osx-installer/downloads/list







No comments:

Post a Comment