Thursday, July 9, 2009

Lua Lua

No, it's not the name of a mostly incoherent song from earlier in the past century. Lua is an extension programming language used for scripting. It is a light-weight library that allows you to "script" data, functions, etc. into your application without having to recompile your program code. This can make your program a lot more flexible - you can change the way your program behaves without having to alter its internal code directly (assuming your program is set up properly, of course).

I got acquainted with Lua programming last night. I read most of the "Programming in Lua" guide after it was delivered yesterday afternoon, and dove in. Lua programming is assuredly... different, but it's not hard to get the hang of it. It's certainly new to me the way data and the like are handled, but it's nothing earth-shattering.

So, what will Lua do for Mythic? I aim to use Lua scripting for things like cut-scene automation and program configuration. I haven't had time to delve too deeply into everything that Lua can do for a project like Mythic, so I may be missing a few things. More time getting to know Lua will tell the whole story.

No comments:

Post a Comment