I need to put scriptable NPC in my currect game project. The project itself is developed in C++ language.
I\'m having problems with luabind. I define a std::map to allocate objects created in lua. I publish this map as a global object in lua in this way:
So, I have a code, that compiled on MSVC 9 and some previous (dunno how far back it goes...), GCC, MingW, GCC on Mac...
How to iterate through luabind class (in lua or in c++)? class \'A\' function A:__init() -- Does not work
How to override luabind class __finalize method? Trying to do this in such way: class A function A:__init()
I am currently developing a plugin-based system in C++ which provides a Lua scripting interface, for which I chose to use luabind. I\'m using Lua 5 and luabind 0.9, both statically linked and compiled
I\'ve made countless attempts to get this working, but everything I do gives me run-time errors. I\'ve been trying to make asset managers to manage content for my game engine, and I\'m using lua and l
===Edit=== The problem is actually much simpler than this, any wrapped function that takes a table is causing the problem.If I wrap a function that takes luabind::object, and call that function with
Using C++, lua 5.1, luabind 0.7-0.81 Trying to create a lua class with parent and store it in a luabind::object.
I\'m trying to export a simple class to Lua using LuaBind. I took the code from two sites which showed roughly the same way to do it, but it\'s still failing.