Temple of The Roguelike Forums
Development => Programming => Topic started by: Xecutor on March 30, 2010, 11:00:15 AM
-
Anyone interested in libtcod enabled lua scripting host?
i.e. application that can run lua scripts and have built-in support of libtcod.
I even have 'walking @' with fov demo in lua :)
It's completely standalone (beside libtdoc and SDL runtime).
It's probably good for prototyping... if you know lua :)
-
Anyone interested in libtcod enabled lua scripting host?
i.e. application that can run lua scripts and have built-in support of libtcod.
I even have 'walking @' with fov demo in lua :)
It's completely standalone (beside libtdoc and SDL runtime).
It's probably good for prototyping... if you know lua :)
While I don't know lua that well, I'd bet it was fast enough to run as a game itself, since libtcod would be doing a lot of the heavy lifting in terms field-of-view and such.
-
If it were me, I'd write the bindings as a separate package and create a combined interpreter as an example. much more useful that way.
-
It is separate package.
But lua can't just import external bundle.
You need to import it from your program and register in lua.
I might add some more useful for rl development extensions.
Ultimately I want to make kind of 'roguelike builder'.
Tool where you can design your classes, fill data, draw vaults and portions of maps.
And play :)
-
I didnt mean package to load into lua, I meant write the c/c++ files that bind as a separate setup, so anyone can drop it in their existing lua/tcod game.