Use of Lua...

Started by
5 comments, last by zer0wolf 20 years, 11 months ago
anybody here have experience with Lua? After reading the feature article I looked into Lua and rather liked what I saw, so I intend on implementing it into a game engine I''m working on. Anybody here done this with their projects already?
laziness is the foundation of efficiency | www.AdrianWalker.info | Adventures in Game Production | @zer0wolf - Twitter
Advertisement
I''ve been working with it for the past few months, and I like it more and more. Easy to embed, easy to extend, nice feature set, no ugly language surprises, and Lua 5.0 is better than ever before. Also, community support is very, very good; the authors are very active on the mailing list, and a nice wiki is to be found at http://lua-users.org .

How appropriate. You fight like a cow.
I think I heard somewhere about a library containing C++ wrapper classes for LUA stuff, not sure of any link or anything though. Would suggest you do a little googling if interested.
there are links for the C++ wrappers on the lua website
laziness is the foundation of efficiency | www.AdrianWalker.info | Adventures in Game Production | @zer0wolf - Twitter
I have made a simple game using Lua as a script language.

There''s "tolua" that automatically binds c++ and Lua. However, as far as I know, tolua supports only up to Lua 4.x.

Current version of Lua is 5.0, and it has many lovely features like coroutine. My personal choice was 5.0, and writing glue functions by myself.
Do any of you have anything I download and peek at that you used Lua with?
laziness is the foundation of efficiency | www.AdrianWalker.info | Adventures in Game Production | @zer0wolf - Twitter
I''ve been using Lua the first time when it was version 4.0.
I loved it!
I used it in my installer, for scripting and abused it as text database also. Added less than 100 KB to my exe file.
Right now i''m working myself into Lua 5.0 (coroutines are the way to go for "movie" scripts with a Wait/Delay command).
With 4.0 i used Luna for binding c++ objects to lua, with 5.0 i switched to LuaBind (sourceforge). I must say, i am impressed.

What i like the most, it is simple and yet powerful, and it works without having to install some dlls somewhere (python anyone?).
Just compile the libs or the source directly into your app.

Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

This topic is closed to new replies.

Advertisement