| ; -Cretae project run in visual !
1.opepn cmd and move to folder contain Cocos2d-x
2.type it in cmd to create a new empty project.
"cocos new MyGame -p com.MyCompany.AwesomeGame -l cpp -d D:/androidt"
3.Open MyGames.sln in the proj.win32 folder, press "Ctrl-F5" to compiling and running the project. That is it .
any wrong ?
|| ;
In Android
======================
1.check file: "cocos2d-x-3.0rc1/tools/cocos2d-console/bin/cocos.py"
2.run this command cmd to bin
3.type this comman
"cocos.bat new ProjectName -p com.demo.abc -l cpp -d [path_to_save_project] "
4.Run file build_native.sh by move to this folder in cmd and type "./build_native.sh"
5. inport file proj.android to eclipse
6 . import library cocos by move to this project just create -> cocos : select one in first !
7.Run and see What happen !
// Mau :
1.D:\DNDK\cocos2d-x-3.0\tools\cocos2d-console\bin
2.cocos.bat new ProjectName -p com.thanhcs.learn -l cpp -d D:\Android
Cretae new project in Cocos2d-x v3.0 (android)
Labels: Cocos2d-x v3.0
No comments:
Post a Comment