axmol/tools/tojs
Ricardo Quesada 96d391ea30 Squashed commit of the following:
commit aff4e27200a77db60b13ea30c2457558e5f53059
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Dec 10 17:58:41 2015 -0800

    compiles with new GC model

commit 1fa69cd71231d56371cd45a378e50a1888308b42
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Dec 10 17:41:15 2015 -0800

    Animation3D works Ok

commit d439969caf7e6fe83a74e37d078c4361a08cb816
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Dec 10 13:39:50 2015 -0800

    Sprite3d create: converted to new API

commit aabe449e4a968fad882c44df9be787eb7c3bfcec
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Dec 10 13:27:33 2015 -0800

    ouch...

commit 688ab610a8cb7607bc3c51b8ca01d800ef3c9794
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Dec 10 13:12:25 2015 -0800

    Spawn/Sequence init* were not bound

    Fixed. Now JS Scheduler Test works Ok
2015-12-10 18:02:55 -08:00
..
README.mdown Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx.ini Squashed commit of the following: 2015-12-10 18:02:55 -08:00
cocos2dx_3d.ini Squashed commit of the following: 2015-12-10 18:02:55 -08:00
cocos2dx_3d_ext.ini Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx_audioengine.ini Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx_builder.ini Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx_experimental_video.ini Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx_experimental_webView.ini Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx_extension.ini Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx_navmesh.ini Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx_physics3d.ini Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx_spine.ini Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx_studio.ini Refine lua/js binding tool 2015-09-19 00:08:15 +08:00
cocos2dx_ui.ini using new bindings templates 2015-12-05 22:26:54 -08:00
genbindings.py sfunction "create" uses new optimized code 2015-12-04 18:42:31 -08:00

README.mdown

How to Use bindings-generator

On Windows:

On MAC:

  • The OSX 10.10 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
  • Download NDK 64bit r10c or later from Android Ndk
  • Run
	export NDK_ROOT=/path/to/android-ndk-r10c
    ./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
  • Download NDK 64bit r10c or later from Android Ndk
  • Go to "cocos2d-x/tools/tojs", Run
	export NDK_ROOT=/path/to/android-ndk-r10c
    ./genbindings.py