How to use?
compile the main.go using golang, and put the executable file main to this directory.
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 char
type 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
open pack.sh and modify the
pkg_rootparams to your directory
./pack.sh you will get cocos2dx-2.2.1.zip
If you want cocos2dx-2.2.1, just use the packed cocos2dx-2.2.1.zip
upgrade to ldt1.2M1, use extends to support inheritance.