/lua_ios

LuaJIT + OpenGLES + OpenAL + luasocket

Primary LanguageCMIT LicenseMIT

lua_ios

lua_ios is a lightweight lua game engine alternative to frameworks like Corona or Moai. It includes LuaJIT and bindings for:

OpenGLES
luasocket
OpenAL

USAGE

To use, just include the lua_ios folder in your Xcode project, add your own main.lua resource file and call the following in your GLESView:

lua_State luaState = lua_open();
luaopen_lua_ios(luaState);

NSString *filePath = [[NSBundle mainBundle] 
	pathForResource:@"main" ofType:@"lua"];

luaL_loadfile(luaState, [filePath UTF8String]);

You will also need to link the following frameworks into your project:

GLKit.framework
OpenGLES.framework
OpenAL.framework
QuartzCore.framework
CoreGraphics.framework
Foundation.framework	

LICENSE

MIT licensed Copyright Steve Dekorte and Rich Collins