Another useful XNA library: Xnua
If you like to use Lua for game scripting, this is a useful library to check out. Xnua is a library that helps integrate Lua scripting into XNA based games. It uses a content pipeline plugin to convert scripts to .NET assemblies, which rely on the Xnua runtime for support. You can load and run the assemblies more or less normally, and hook them into the Lua states provided by the runtime, in order to add the scripting functionality to your game project.
I'd much rather have it be an actual interpreter rather than compiling to .NET bytecode at build time, but for now this does the trick, and in a more or less acceptable fashion, too. Documentation for using Xnua is available on the website, and you can download sample code that demonstrates how Xnua is used alongside the library itself. It's yet another useful item for the XNA developer's toolkit.
Trackback URL for this post:
- Chris Charabaruk's blog
- Login or register to post comments
Delicious
Digg
StumbleUpon
Reddit
Facebook
Technorati




