lua-users home
lua-l archive

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


On Feb 18, 2003 at 12:00 -0500, Kevin Watters wrote:
> Lua's working great for configuration in my OpenGL sidescroller, but now I'm
> looking into having access to a lua console in the game (for editing
> purposes).  How can I go about adding luac.c into my project and direct it's
> output to a string buffer so I can draw it to the screen?  And how can I
> route input to that console?

It uses Lua 3.2, but you can look at the GPL'd Soul Ride Engine for
reference, since it has a Lua console built into it:
http://sourceforge.net/projects/soulride

-- 
Thatcher Ulrich
http://tulrich.com