axmol/tools/tojs
pandamicro c0066f9afd Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into audioengine 2015-07-30 20:25:57 +08:00
..
README.mdown Add js-bindings generator tools. 2015-04-14 11:01:07 +08:00
cocos2dx.ini Merge branch 'v3.7-release' of https://github.com/cocos2d/cocos2d-x into v3 2015-07-21 11:39:24 +08:00
cocos2dx_3d.ini add physics3d js manual binding and tests 2015-05-21 18:05:49 +08:00
cocos2dx_3d_ext.ini Add js-bindings generator tools. 2015-04-14 11:01:07 +08:00
cocos2dx_audioengine.ini Auto bind public members of AudioProfil 2015-07-30 20:19:53 +08:00
cocos2dx_builder.ini Update the ini files for js binding 2015-05-07 13:00:57 +08:00
cocos2dx_experimental_video.ini add videoplayer config ini and fix the url bug 2015-05-29 11:10:39 +08:00
cocos2dx_experimental_webView.ini add webiew jsb code 2015-05-12 10:30:51 +08:00
cocos2dx_extension.ini Add js-bindings generator tools. 2015-04-14 11:01:07 +08:00
cocos2dx_navmesh.ini Improve auto bindings for navmesh 2015-06-18 22:48:47 +08:00
cocos2dx_physics3d.ini improve the rigidbody conversion function 2015-07-30 14:26:28 +08:00
cocos2dx_spine.ini Update the ini files for js binding 2015-05-07 13:00:57 +08:00
cocos2dx_studio.ini Update js bindings & js tests. 2015-05-05 10:50:19 +08:00
cocos2dx_ui.ini Refine ui bindings and JS constants 2015-07-29 13:06:49 +08:00
genbindings.py Add audio engine bindings in JSB 2015-07-23 14:43:01 +08:00

README.mdown

How to Use bindings-generator

On Windows:

On MAC:

  • The OSX 10.9 has a built-in python2.7 and if your os don't have python2.7 then use Homebrew to install the python and use pip install the python dependencies.
	brew install python
  • Install python dependices by pip.
    sudo easy_install pip
    sudo pip install PyYAML
	sudo pip install Cheetah
	export NDK_ROOT=/path/to/android-ndk-r9b
    ./genbindings.py

On Ubuntu Linux 12.04 64bit

  • Install python
	sudo apt-get install python2.7
  • Install python dependices by pip.
	sudo apt-get install python-pip
	sudo pip install PyYAML
	sudo pip install Cheetah
	export NDK_ROOT=/path/to/android-ndk-r9b
    ./genbindings.py