[SDL] Ruby/Python/LUA scripting within a C/C++ SDL game?

Sam Crow samuraileumas at yahoo.com
Tue Apr 10 08:58:43 PDT 2007


Christopher Williamson <chrisw <at> dqsoft.com> writes:

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

http://boost.org/ has a module called Boost.Python that allows the use of Python
scripting in a C++ application.  LUA might be better to use, however.

> 
> I have seen PyGame and Ruby/SDL but these are really geared for writing the
> entire game in Python or Ruby, but I am only interested in scripting parts of 
> it.

You are right about that.

One other engine you might look into is http://Panda3d.org .  It doesn't use SDL
but has been ported to several platforms.  It uses Python and/or C++ as its
scripting language.



More information about the SDL mailing list