luabind
Game NPC multi-action lua script design
I need to put scriptable NPC in my currect game project. The project itself is developed in C++ language.[详细]
2023-02-06 15:37 分类:问答when do luabind free created objects?
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:[详细]
2023-02-04 18:20 分类:问答MSVC 10 + Luabind + std::vector == refuse to compile
So, I have a code, that compiled on MSVC 9 and some previous (dunno how far back it goes...), GCC, MingW, GCC on Mac...[详细]
2023-01-15 00:32 分类:问答How to iterate through luabind class (in lua or in c++)?
How to iterate through luabind class (in lua or in c++)? class \'A\' function A:__init() -- Does not work[详细]
2023-01-03 23:59 分类:问答How to override luabind class __finalize method?
How to override luabind class __finalize method? Trying to do this in such way: class A function A:__init()[详细]
2023-01-03 16:52 分类:问答Binding functions of derived class with luabind
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[详细]
2022-12-24 12:31 分类:问答How do I use Luabind and C++ to create an asset managing class?
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[详细]
2022-12-21 20:18 分类:问答Problem in luabind with default_converter and tables
===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[详细]
2022-12-19 04:36 分类:问答Storing a lua class with parent in luabind::object
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.[详细]
2022-12-15 00:15 分类:问答Access violation when exporting a C++ class to Lua using LuaBind
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.[详细]
2022-12-14 23:25 分类:问答