Загрузка...

repeat until Loops In Lua: Learn Programming And Game Development With Lua

In this video in my series Learn Programming and Game Development with Lua I demonstrate the repeat until loop in Lua, the equivalent of the do while loop in other languages and compare it with the while loop.

#programming #gamedevelopment #gamedev #lua #love2d

00:00 - Start
00:06 - Introduction
00:24 - repeat until loop in Lua: overview
01:08 - repeat until loops in Lua: Demonstration
01:48 - Setting up the variables that we will use in the repeat until and while loops.
01:57 - Declaring multiple variables on a single line.
03:55 - Writing the repeat until loop.
05:16 - Writing the while loop.
06:35 - Comparing the repeat until and while loops.
09:36 - What we need to cover next.

Link to the code on GitHub:
https://github.com/CharlesKirkSD/Learn-Programming-and-Game-Development-with-Lua/blob/main/07%20Control%20Flow%20repeat/repeat.lua

Видео repeat until Loops In Lua: Learn Programming And Game Development With Lua канала Charles Studio Tech
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять