Skip to content
Protovision edited this page Jul 6, 2014 · 7 revisions

Welcome to the io-lua wiki!

io-lua is a 2D game engine for game made in Lua.

io-lua currently runs on Linux, Mac OS X, and Windows.

When the game engine runs, it executes config.lua (if it exists) and then game.lua from your game archive. The folder you can write to is called the data path. The data path is where you may store saved game state files and other information your game might need later.

Note: since your lua scripts are stored in zip files, dofile will not work (require still works). Use the Call game engine function to call another Lua script in your game.