Lua: small, fast, everywhere
The simple scripting language inside games, editors and devices. Variables, loops, tables and metatables.
Start the track- Hello, Lua BeginnerPrint your first lines and store values in variables.5 min
- Numbers and strings BeginnerCalculate, format output with string.format, and use common string functions.7 min
- Decisions BeginnerReact to input with if, elseif and else, and combine conditions with and, or and not.7 min
- Loops BeginnerRepeat with numeric for, while and repeat-until.7 min
- Functions IntermediateDefine functions, return several values at once, and pass functions around.8 min
- Tables as lists IntermediateLua's one data structure, the table, used as a list with ipairs, insert, sort and concat.9 min
- Tables as dictionaries IntermediateStore values by name, loop with pairs, and count things.9 min
- Metatables and objects AdvancedGive tables custom behaviour with metatables, and build classes with __index.12 min