Тёмный

Tutorial 2: Lua Program Overview -- Gamedev for Beginners 

Gamefromscratch
Подписаться 252 тыс.
Просмотров 14 тыс.
50% 1

In this tutorial we look at where a Lua program starts. We examine the concept of an entry point, then briefly cover variables and functions. We also discuss comments, then go over lua keywords.

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@gamefromscratch
@gamefromscratch 6 лет назад
Lua/Love Links: www.gamefromscratch.com/page/GameDev-For-Complete-Beginners-Tutorial-Series.aspx
@eddie2378
@eddie2378 7 лет назад
Just for an extra consistency I recommend renaming Main.lua to main.lua (the lower case m) so that it works on POSIX systems like MacOS, Linux etc as well not just Windows.
@victornaut
@victornaut 7 лет назад
I know it was not target to me, I don't even use Mac or Linux, but thanks for helping people! :D
@QuotePilgrim
@QuotePilgrim Год назад
I know I'm responding to a 6 year old comment, but it doesn't actually matter here because the Lua interpreter is being called directly with the name of the file, so what the file is named is irrelevant. When it will matter is when making a game with LÖVE, at which point, yes, the file must be called main.lua for it to work on anything other than Windows (assuming Main.lua even works on Windows, it might not). In the Starting with LÖVE video he does use the appropriate filename.
@bernie2k167
@bernie2k167 7 лет назад
I love the mic change/popfilter added from Tutorial 1 to 2 very pleasant.
@aristoteles3843
@aristoteles3843 6 лет назад
Every video he tels us that he chose this particular text editor for the presentation mode then forgets to open presentation mode :D
@rafaelbezerra9178
@rafaelbezerra9178 8 лет назад
good lesson!
@evertonoptimum6687
@evertonoptimum6687 8 лет назад
Indeed
@awttygaming2510
@awttygaming2510 Год назад
so the only way im going to learn is with lines pointing to what stuff is and a simpler explanation and the line pointer to the explorer tab inside roblox idk if there's a video like that
@erebus9774
@erebus9774 5 лет назад
lua seems like pythons twin brother(or sister lol)
@paulzupan3732
@paulzupan3732 Год назад
Please don't add a comment explaining that you're calling io.read() to store user input into a local variable. Please don't. We know.
@zyadmohamed5360
@zyadmohamed5360 7 лет назад
can you just put more information and learning in the video not just one script for the people who already know programming but just want to earn one more language
@thenextnewsnetwork1237
@thenextnewsnetwork1237 8 лет назад
This guy takes too long to get to the point...
Далее
Tutorial 3: Variables in Lua
27:23
Просмотров 10 тыс.
Tutorial 4: Functions in Lua -- Gamedev for Beginners
14:49
Семья с двойным дном. Рассказ
2:45:06
У НАС ДОМА ЗАВЕЛАСЬ КРЫСА 🐀
01:00
Falling in LÖVE with Lua
1:12:27
Просмотров 71 тыс.
Embedding Lua in C++ #1
35:33
Просмотров 175 тыс.
Lua Tutorial
57:25
Просмотров 963 тыс.
Семья с двойным дном. Рассказ
2:45:06