jeudi 28 mars 2013

OOP in Lua

I am currently working on giving total control of the game engine through Lua scripting : more infos here : http://spacesimcentral.com/ssc/topic/3508-sgvm-and-various-tools/

This mean that Lua code will be a little bit more complex. Knowing that Lua is not an object-orient langage, I decided to use the Luna wrapper : this is a cool C++ template that provide an ersatz of OOP extension to the lua langage.

Luna Wrapper template is available here : http://lua-users.org/wiki/LunaWrapper