cocos.py new GameName -p com.CompanyName.GameName -l cpp -d ~/Game Directory
2. Now new project is created.
2.Type cocos.py compile -p android. The compilation will took minutes to complete.
(Note : -p which platform you want to compile. options android, ios, mac, win32, linux)
Compile Game Project (Android)
1. Compile game project is necessary after add or edit code. For compile your project, in command prompt > type cd > and drag and drop game project directory.2.Type cocos.py compile -p android. The compilation will took minutes to complete.
(Note : -p which platform you want to compile. options android, ios, mac, win32, linux)
Run Game Project (Android)
Run command is to test your project using Android device or Android Virtual Device(AVD).
1. To run your game project, in command prompt > type cd > and drag and drop game project directory.
0 comments:
Post a Comment