
C++ and Lua Game Development
CppCast
00:00
How to Use Modern C++ Features in Game Development
With Sol2, you have to manually specify each function you want exposed. There's no binding generator like with SWIG or something. It probably makes you be more deliberate about what you're giving your scripting engine access to. So there are lots of things about the engine. GameLogic tries to do its own thing and call as less as possible about the engine so they're not tightly coupled. And I can make some changes to engine while the GameLogic will still work the same.
Transcript
Play full episode