🌙 Lua Course
Learn Lua, the lightweight scripting language. Perfect for game development, embedded systems, and extending applications.
New to Lua? No prior experience needed.
Start with Lesson 1 — Introduction to Lua. Whether you want to mod games or build scripts, this course has you covered.
Start Your First LessonIntroduction to Lua
What Lua is, where it's used, and how to run your first Lua script
Variables and Data Types
nil, booleans, numbers, strings — and how Lua handles types dynamically
Functions and Tables
Define functions and use Lua's versatile table structure as arrays and objects
Control Flow and Loops
if/elseif/else, while loops, repeat-until, and numeric for loops
Metatables and Metamethods
Customise how tables behave with __index, __newindex, and operator overloading
Lua for Game Development
Apply Lua in game engines like LÖVE2D and Roblox with practical examples