Game engine using DirectX and Lua scripting