[SDL] Ruby/Python/LUA scripting within a C/C++ SDL game?
Kuon - Nicolas Goy - 時期精霊 (Goyman.com SA) - 675
kuon at goyman.com
Thu Apr 12 02:31:14 PDT 2007
On 11 Apr 2007, at 8:33 PM, Ilya Olevsky wrote:
>> Anyone have any experience with using a built-in interpreter using
>> Python, Ruby,
>> or LUA to write a good portion of your higher-level game logic?
>
> For Lua you should use LuaBind. It has a bit of a learning curve but
> works very well. Keep in mind that Lua was specifically designed to be
> embedded, which is not the case with many other scripting languages.
If you plan to use LUA in plain C (like we do), read that:
http://www.debian-administration.org/articles/264
Surely there are other tutorials, but I found that one to be really
simple.
Regards
--
Kuon
"Your computer requests another OS, deny or allow?"
"You should stop playing with that, or it will eventually works."
Company website:
http://www.goyman.com/
Personal blog:
http://arkhi.goyman.com/blojsom/blog/default/
More information about the SDL
mailing list