Archived

This topic is now archived and is closed to further replies.

zer0wolf

Use of Lua...

Recommended Posts

zer0wolf    1022
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?

Share this post


Link to post
Share on other sites
Sneftel    1788
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.

Share this post


Link to post
Share on other sites
AikonIV    122
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.

Share this post


Link to post
Share on other sites
Pion    122
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.

Share this post


Link to post
Share on other sites
Endurion    5411
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.

Share this post


Link to post
Share on other sites