Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
LuaJIT + OpenGLES + OpenAL + luasocket
C Lua Objective-C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LuaJIT-2.0.0-beta10
luaopenal
luaopengles
luasocket-2.0.2
.DS_Store
License.txt
README.md
lua_ios.c
lua_ios.h

README.md

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

Something went wrong with that request. Please try again.