Tables and Generic for Loops in Lua: Learn Programming and Game Development with Lua

preview_player
Показать описание
In this video in my series Learn Programming and Game Development with Lua I demonstrate tables and the Generic for loop in Lua.

#programming #gamedevelopment #gamedev #lua #love2d

00:00 - Start
00:06 - Introduction
00:21 - Tables the only composite data type in Lua
01:31 - Getting started in ZeroBrane Studio.
01:50 - Creating an empty table in Lua.
03:11 - Second Example: Creating and populating a table with a single statement.
06:19 - Generic for Loop: Outputting the table entries using a Generic for Loop.
08:26 - Identifier (variables, functions, ...) naming conventions in programming.
09:55 - Adding entries to an empty table - Example 3
14:39 - The . dot operator.

Link to the code on GitHub:
Рекомендации по теме
Комментарии
Автор

I really like this tutorial. Just my speed.

ATrustInThrust
Автор

these have been really helpful tutorials so far. very digestable. at what point will it begin to look/feel like a game?

thanks--
Jeremy

jeremyjohnson
welcome to shbcf.ru