how to install cocos2d-x 2.2 on mac

how to install cocos2d-x 2.2 on mac
0.0 0


hi …
how to install cocos2d-x 2.2 on mac i search in internet all use file ./ but i can not found it can anyone help how to install cocos2d


not need template, not install, you can use to create a new multi-platform projects.

open Mac Termin
command (replay your cocos2d-x-2.2 path) :

cd /Users/mars/Documents/Library/Cocos2d-x/cocos2d-x-2.2/tools/project-creator/
./ -project cocos2dxTest2 -package com.yourcompany.cocos2dxTest2 -language cpp

Termin run results:

MarstekiMacBook-Pro:project-creator mars$ ./ -project cocos2dxTest2 -package com.vancing.cocos2dxTest2 -language cpp
proj.ios        : Done!        : Done!
proj.win32      : Done!
proj.winrt      : Done!
proj.wp8        : Done!
proj.mac        : Done!
proj.blackberry     : Done!
proj.linux      : Done!
proj.marmalade      : Done!
New project has been created in this path: /Users/mars/Documents/Library/Cocos2d-x/cocos2d-x-2.2/projects/cocos2dxTest2
Have Fun!

you can modify your projects path.
edit “” file, go line 52

context["dst_project_path"] = os.getcwd() + "/../../projects/" + context["dst_project_name"]