* Download the code from cocos3d download site or https://github.com/cocos2d/cocos3d-x
* Enter `tools/project-creator`
* Run the `create_project.py` script
Example:
$ cd cocos3d-x/tools/project-creator
$ python ./create_project.py -project helloworld -package com.company.helloworld
$ cd /projects/helloworld
for android
Requirements : Windows 7+ , android sdk 2.3+ , android ndk r8b+
Build :
$ cd cocos3d-x/projects/helloworld
$ cd proj.android
$ sh ./build_native.sh
Run:
* Import helloworld Android project using Eclipse(released with Android SDK).
* The path to be imported is `cocos3d-x/projects/helloworld/proj.android`.
for ios
Requirements : Mac OS X 10.7+, Xcode 4.6+
Build :
* Enter *proj.ios* folder
* open *helloworld.xcodeproj*
* Select ios targets in scheme toolbar , build
Run :
* Enter *proj.ios* folder
* open *helloworld.xcodeproj*
* Select ios targets in scheme toolbar , run
for win32
Requirements : Windows 7+, VS 2010+
Build :
* enter *cocos3d* folder
* open the `cocos3d-win32.vc2010.sln`
* build
Run :
* Enter *cocos3d* folder
* open the `cocos3d-win32.vc2010.sln` by vs2010
* select the *helloworld*
* run