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.
api
docs
old_api update Jan 13, 2014
README.md
api.zip
cocos2dx-2.2.1.rockspec origin Jan 13, 2014
cocos2dx-2.2.1.zip update Feb 25, 2014
main.go
pack.sh

README.md

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 pack.sh and modify the pkg_root params to your directory

  4. ./pack.sh you will get cocos2dx-2.2.1.zip

For conveniece

If you want cocos2dx-2.2.1, just use the packed cocos2dx-2.2.1.zip

  1. changelog

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

Something went wrong with that request. Please try again.