Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coddy

Learn Lua

via Coddy

Overview

A free, interactive online Lua course. You write Lua on every lesson, with AI hints when something nils out, and a free certificate when you finish.

  • Master Lua tables as the universal data structure
  • Use functions, closures, and proper scoping
  • Apply metatables and metamethods for OOP-like patterns
  • Write small, expressive Lua scripts

Syllabus

Fundamentals

  • Introduction
  • Variables and Data Types
  • Operators 1 Arithmetic & Conc
  • Operators 2 Relational & Logic
  • Basic Output
  • Project: Character Stats Disp
  • Basic Conditional Logic
  • String Manipulation Basics
  • Functions Basics
  • Tables Part 1: List-Style
  • Tables 2: Dictionary-Style
  • Loops Basics
  • Project: Simple Potion Shop
  • Variable Scope
  • Final Challenges

Logic & Flow

  • Advanced Table Iteration
  • More Table Library Functions
  • Advanced Function Concepts
  • Introduction to Metatables
  • Project: Text Adventure Engine
  • Error Handling
  • Advanced String Manipulation
  • Project: Contact List
  • Coroutines for Beginners

Object Oriented Programming

  • The 'Self' Concept
  • Class Prototype Pattern
  • Object State and Behavior
  • Project: Digital Bank
  • Operator Overloading in OOP
  • Inheritance Basics
  • Polymorphism & Overriding
  • Encapsulation
  • Composition & Mixins
  • Project: Shape Manager
  • Design Patterns (Lite)
  • Final Challenges

Introduction To Luau

  • Getting Started with Luau
  • Core Types
  • Typed Tables: Arrays & Maps
  • Working with Functions
  • Aliases, Unions, Intersections
  • Typing Table Shapes
  • Project: Typed Task Manager
  • Enums, the Luau Way
  • Generics: A First Look
  • Project: Generic Inventory
  • Advanced Topics

Roblox Game Scripting

  • Scripts and Parts
  • Loops and Functions
  • Events and Players
  • Game Mechanics
  • Your First Game

Reviews

Start your review of Learn Lua

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.