in 2.x version, I can modify pkgs to export functions into lua with tolua++.
but now I do not know how to finish this job in version 3.0 on win32 platform.
Most of our team members are using MacOS, so it’s no problem to generate luabinding codes by bindings-generator.
For short-term solution: you could install a Mac or Linux vm for generating binding glue codes.
We will try our best to make it support win32 soon.
lua_cocos2dx_manual.cpp is not generated by bindings-generator,it contains funtions can’t bound to lua automatically.Now ,you can bind your function to lua by writing some code in the lua_cocos2dx_manual.cpp.About schedule,we don’t want to change the codes in the cocos2dx only for lua, do you have any better solution?
in 2.x version, I can modify pkgs to export functions into lua with tolua**.
but now I do not know how to finish this job in version 3.0 on win32 platform.
>
it is grateful for any help.
Sorry that I didn’t digg deep enough before answering, and it seems that my only right thing is that I could make mistake here.
So in 3.0, the lua code is REALLY also generated by that generator.py, not tolua**. I’m not familiar with llvm neither, so I could not give any further help here. Maybe you could follow @James’ suggetion or wait till the issue get solved…