lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I have been interested in scripting for a while, and over the past month I have learned how to use Lua as well as toLua.. but haven't yet implemented a scripting system in a game, and I just have a few things I was wondering about. 1) Does everybody using C++ usually write their own Lua API wrapper (as I am currently using) or is there a common way for C++ developers to do this (like toLua seems to be _the_ tool for it's job). 2) Are there any small examples of open source games that use Lua? Although I now understand how to interface Lua into a game, I was wondering what the best approaches are to designing the interface. For a simple example, if there were something like a 2 player tank combat game (I've been playing a lot of 2600 Combat lately) how would people design their interface to control the AI tank. 3) How far behind do things like toLua and the Lua docs usually lag behind releases? Will it be a while until toLua 5 is out, or will it be close to the official Lua 5 release?

Thank you for taking the time to answer any of the questions you can.

        -James