Skip to content
ldt lua execution environment for cocos2d-x
Lua Go Other
Latest commit 8175622 Feb 25, 2014 @lazytiger update
Failed to load latest commit information.
old_api update Jan 13, 2014
cocos2dx-2.2.1.rockspec origin Jan 13, 2014 update Feb 25, 2014

How to use?

  1. compile the main.go using golang, and put the executable file main to this directory.

  2. you should fix some problem in cocos2dx/tools/tolua++/*.pkg.

    As I know, there are such problems:

    2.1 const charxxxx - no seperator in `const chartype and argument name, likeconst char*abc`

    2.2 multi line function definition - just for simplisity, no implmentation for this, you should fix the pkg file, grep -E "\([^\)]*$" * could help you

    2.3 constructor/destructor - remove these things

  3. open and modify the pkg_root params to your directory

  4. ./ you will get

For conveniece

If you want cocos2dx-2.2.1, just use the packed

  1. changelog

upgrade to ldt1.2M1, use extends to support inheritance.

Something went wrong with that request. Please try again.