Hi,
Is there any guide of how to integrate other libraries/classes (like Box2D) in the Lua binding?
Thanks
Jose
Hi,
Is there any guide of how to integrate other libraries/classes (like Box2D) in the Lua binding?
Thanks
Jose
cocos2d-x use tolua*+ to export c*+ interface to lua, first you need write .pkg file which tell tolua+ how to export c+ interface, then it will gernerate a**.cpp file. add this cpp file to your project.
tolua*+ reference manual: http://www.codenix.com/~tolua/tolua**.html
tolua*+ home page: http://www.codenix.com/~tolua/