if, then, elseif, else, end in Lua : Learn Programming And Game Development With Lua

Опубликовано: 23 Апрель 2026
на канале: Charles Studio Tech
317
15

In this video in my series Learn Programming and Game Development with Lua I introduce the concepts instructions, expressions and statements before moving on to demonstrate program control flow with the if, then, elseif, and end statements in Lua.

Link to the code from this tutorial on GitHub:
https://github.com/CharlesKirkSD/Lear...

#programming #gamedevelopment #gamedev #lua #love2d

00:00 - Start
00:06 - Introduction
00:41 - Concepts: Instructions, Expressions & Statements
02:00 - Simple if then else statement
03:50 - if then else end
05:17 - if then elseif else end
08:40 - Getting User Input from the Keyboard