Just finished watching the whole thing, started as with 0 experience and now I feel like I`m confident enough to start making my own game, gonna be a challenge but one that I`d love to take! Thank you so much for the wonderful tutorial, you sure helped me and many others learn how to walk through the steps of their dreams, and I`d like to wish a goodluck to everyone who is just starting to learn coding as well like me, please don`t give up! It is just the start and it is a skill you can enhance with experience and time, you will achieve your dreams and goals if you want it badly enough. Take care everyone and thanks again for the wonderful tutorial!
⭐ Course Contents ⭐ -- LUA BASICS -- ⌨ (0:00:00) Intro to Lua ⌨ (0:02:28) Installing Lua ⌨ (0:09:51) Running Lua (VSCode) ⌨ (0:11:03) Printing and Comments ⌨ (0:19:42) Variables & Data Types ⌨ (0:29:51) Strings ⌨ (0:36:59) Math ⌨ (0:46:22) If Statements ⌨ (0:58:49) Loops ⌨ (1:03:37) User Input ⌨ (1:05:34) Tables ⌨ (1:23:27) Functions ⌨ (1:31:44) Working with Files ⌨ (1:39:12) Custom Modules ⌨ (1:43:10) OOP -- LOVE 2D BASICS -- ⌨ (1:56:42) Setup and LUD basics ⌨ (2:06:35) The Config File ⌨ (2:25:13) Drawing & Moving Shapes ⌨ (2:45:57) Keyboard Input ⌨ (2:55:36) Working with Sprites -- CREATING SAVE THE BALL GAME -- ⌨ (3:21:44) Game Setup ⌨ (3:38:03) Creating the Enemy ⌨ (4:09:02) The Menu Screen ⌨ (4:51:11) Adding a Point System ⌨ (5:11:44) Game Over Screen -- CREATING THE ASTEROIDS GAME -- ⌨ (5:31:24) Game Setup ⌨ (5:40:02) The Player ⌨ (6:10:32) The Thruster ⌨ (6:31:59) The Game State ⌨ (6:38:47) Game Text ⌨ (7:02:40) Asteroids ⌨ (7:41:32) Lasers ⌨ (8:03:46) Laser Collision Detection ⌨ (8:29:10) Player Collision Detection ⌨ (8:41:17) Player Lives ⌨ (8:57:54) The Menu ⌨ (9:30:51) Installing & Running LuaRocks ⌨ (9:42:18) The Score System ⌨ (10:03:12) Game Over ⌨ (10:11:56) Invincible PLayer & Infinite Levels ⌨ (10:31:07) Game Reset & High Score ⌨ (10:44:38) BGM & SFX
Have been making games in love2d for 2 years now. I love love 2d and I love the community. It is such an awesome way to learn programming. I would recommend love 2d to anyone who is starting out in programming. It is fun to use and simple.
@@garln Godot Engine is easier as you have a lot of features available, while with love2d is just a library. But you have more liberty with love2d, you can reinvent the wheel as you like
I am very biggest fan of this channel. This channel is like a heaven for coders who can't afford money.This channel is best in the world and thanks to all members for your dedication and hardwork.Thank you very very very much.
Love2d is really simple and awesome if you really want to make a 2d game and not just use everything provided to you by some game engine. I am the head of game development club of my college and we use it to teach game dev concepts along side with unity.
its been two month and im only at 6 hours , im getting so sick of it but I need to keep it up. Studying my notes is taking me soo much time. Also, steve teacher, you are the goat 👍
I've now learned i can change the color of the text in my cmd bar and that I can also edit my code in notepad without constantly having to change the file extension and I'm not even 9 minutes into this video. That's crazy bro. 42:00 Order of operations (for anyone who needs a refresher): [Brackets], (Parenthesis), Exponents, Multiplication, Division, Addition, Subtraction. BPEMDAS. However in this case brackets are just more parenthesis and I guess you don't use [this], however usually you'd use [these] for brackets. 54:53 I freaking love if statements. And else makes them even more compact.
If you are on windows 11 you can't change a file type via file explorer by default, you can also show extensions by click on view > show > file name extensions Or open notepad, write what he wrote, click "save file as" and put "main.lua" as the name, the type will change to a lua file after you save
3:50:30 So the reason it's difficult to wrap your head around this math is because you're doing the math in an unnecessarily unintuitive way. There is no reason to subtract your position from the player's position when you can just, you know, compare your position to the player's position. The comparison 'player.x - self.x > 0' is identical to just 'self.x < player.x'; do you see how much more intuitive the latter is? Instead of going "if the player's x position minus my current x position is greater than zero, then I am to the left of the player", you are simply going "if my current x position is less than the player's x position, then I am to the left of the player".
@@teamk4allIn comparison to how easy it is on Linux, it kind of is. I'm very used to both systems, so it doesn't bother me, but Linux is undeniably easier.
Um I'm fairly certain there is technically no integer data type in lua, I'm pretty sure both ints and floats are considered as "number" which is always float, the only way around this (at least in love2d) is to use the luajit "bit" library then you can at least do bitwise operations on number type variables though idk if it allows actual integer arithmetic
They do both fall under the 'number' data type, but it is good to know the difference between integers and floats, especially if you plan to later on do programming in a different language or get in a discussion with other programmers
I don't think many people are looking at this anyways since the last comment is from a year ago but: Thinking that this statement 'x = 5' is read as 'x is equal to five' will only mess with your head later on, it is better to think of it as '5 is being assigned to x'. For the life of me I can't comprehend why everybody teaches that '=' means 'equals to'
Yes, I understand, it makes more sense to say assigned, since it is not technically equal - however, I believe *if* the teacher does their job good enough, that small wording difference may not matter in the end and may make it easier for some non-English speakers to understand (keep words small and sentences simple)
How the hell are you doing a good job to begin with if you can't even get the terminology right. = is not the same as == and no == is not double equals and this != is not about being excited to be equal to another thing and these comparison statements and the operands are not even the most complex. For the life of me, I cannot understand why people make learning to code as this magical thing and complicated when it is in fact very easy and even easier to explain if you are not being an asshole about it. @@Stevesteacher
To make the pacman game work the opposite way just switch food_eaten to true in the load function. Then tell if pacman.x >= food_x + 20 then food_eaten = false in the update function. Finally, tell if food_eaten, then draw the rectange. That way you tell it to draw the triangle as long as the pacman shape's x-axis is smaller than the food's x-axis(food_eaten = true) then if they are equal or the pacman's x-axis is greater it do not enter the if statment so the food is not drawn. _G.love = require("love") function love.load() love.graphics.setBackgroundColor(0,0,0) _G.pacman = {} pacman.x = 200 pacman.y = 250 pacman.eat = true _G.food_x = 600 _G.food_eaten = true end function love.update(dt) pacman.x = pacman.x + 1 if pacman.x >= food_x + 20 then _G.food_eaten = false end end function love.draw() if food_eaten then love.graphics.setColor(1,1,1) love.graphics.rectangle("fill",food_x,200,70,70) end love.graphics.setColor(1, 0.7, 0.1) love.graphics.arc("fill", pacman.x, pacman.y, 60,1,5) end
@@thecodfather7109 i dont know how but im pretty sure its different for each game, maybe unless its from the same company. look online and youll find what you want
@@mokafi7 tbh dude I was trying to do a character swap where I go from the main player to switch to a boss character to play in the main game but couldn't for the life of me find anything online which sucked 😔
The type does not matter, neither does the file extension, you can still run the code, the file extension is just there so Windows/Linux/Mac and whatever code editor you are using knows what to do with the file, Lua itself can run a .txt file if needed
You know what, thanks for the cours and why does your cursor look like a pawn from chess I literly taught you typed a weird character at the number 2(1:06:47 ) in the table.
I would love to learn LUA. I have heard about this but I would need lot of time for watching this tutorial. Thanks keep on posting. I learned to create my own game on Roblox and ofcourse I have students who take Roblox classes from me. Now I will learn this to I can add it to my list and teach them as well.
Never used love 2d.. so following on my own. I just got the the config file section and I think its wrong, maybe re-work that part. the version number part for instance specifies what version of love the game needs.. it is not the version of your game development. Edit: Haha, Did you just say window.vsync was to synchronize sound and video?
can u tell, from u opened that screen in printing and comments that u minimised at the right bottom? and what is that? and from whr did u open that file manager. im mine it id the normal one but in your its diffrent. PLS TELL
Do you need to install lua? I am trying to learn it to code scripts for fivem. I have never installed lua in the past. Is it necessary? Or what is the purpose of downloading it? Sorry if dumb question I am super new
FiveM embeds the Lua interpreter, so you only need to install Lua if you intend to compile it or another lua-embedding game from source or to build standalone games in pure Lua (this video).
JIT, Just In Time, I think to learn other engine since the one I used currently doesnt have clear purpose and I am tired already. I want to try using framework or graphics library.
You could consider using Python and the library Pyglet. I use it all the time to create visualizations. Although Pyglet doesn't have inherent 3D support, it has complete integration with OpenGL, and you can develop your own 3D engine with Pyglet as a wrapper for OpenGL.
It just says lua53 is not recognized as a internal or external command when i try to say lua53 in powershell and it still doesent work when i change the directory to the main.lua file.
@@loonatron4524 That is what happens when you install a program, in this case we just had to do it manually, since Lua does not do it automatically like Python, Nim and many other languages
hey so i was doing the custom.lua file and added a print between end and return mod. When i did this it printed the print first then the mod example you provided, why?
Hey, can someone help me. I stopped going to school at the age of 15 so I can go to college vocational. But for some reason my parent didn't let me since they didn't like the course that I chose. Now I'm interested in programming language, to be more specific, I want to create a website or an apps. But I don't have any diploma or any certificate. Also, I want to learn it from very beginning and want to work with companies like shopee or Lazada (e commerce apps). Can someone tell me where I can learn and get certificate for this?
_G.Global Variable. If i dont put local hasnt it specified as a global var. I know u said it wasnt obligatory but why add it to the video.Isnt it StressFul
I have got a question. When i create a new text document .txt doesnt appear the only thing that appears in the name is Text document. How can i solve this?
Just finished watching the whole thing, started as with 0 experience and now I feel like I`m confident enough to start making my own game, gonna be a challenge but one that I`d love to take! Thank you so much for the wonderful tutorial, you sure helped me and many others learn how to walk through the steps of their dreams, and I`d like to wish a goodluck to everyone who is just starting to learn coding as well like me, please don`t give up! It is just the start and it is a skill you can enhance with experience and time, you will achieve your dreams and goals if you want it badly enough. Take care everyone and thanks again for the wonderful tutorial!
This channel is like an 18 wheeler when delivering coding education.. 11 hours!
They understand demand. People love costco!
More like a container ship
⭐ Course Contents ⭐
-- LUA BASICS --
⌨ (0:00:00) Intro to Lua
⌨ (0:02:28) Installing Lua
⌨ (0:09:51) Running Lua (VSCode)
⌨ (0:11:03) Printing and Comments
⌨ (0:19:42) Variables & Data Types
⌨ (0:29:51) Strings
⌨ (0:36:59) Math
⌨ (0:46:22) If Statements
⌨ (0:58:49) Loops
⌨ (1:03:37) User Input
⌨ (1:05:34) Tables
⌨ (1:23:27) Functions
⌨ (1:31:44) Working with Files
⌨ (1:39:12) Custom Modules
⌨ (1:43:10) OOP
-- LOVE 2D BASICS --
⌨ (1:56:42) Setup and LUD basics
⌨ (2:06:35) The Config File
⌨ (2:25:13) Drawing & Moving Shapes
⌨ (2:45:57) Keyboard Input
⌨ (2:55:36) Working with Sprites
-- CREATING SAVE THE BALL GAME --
⌨ (3:21:44) Game Setup
⌨ (3:38:03) Creating the Enemy
⌨ (4:09:02) The Menu Screen
⌨ (4:51:11) Adding a Point System
⌨ (5:11:44) Game Over Screen
-- CREATING THE ASTEROIDS GAME --
⌨ (5:31:24) Game Setup
⌨ (5:40:02) The Player
⌨ (6:10:32) The Thruster
⌨ (6:31:59) The Game State
⌨ (6:38:47) Game Text
⌨ (7:02:40) Asteroids
⌨ (7:41:32) Lasers
⌨ (8:03:46) Laser Collision Detection
⌨ (8:29:10) Player Collision Detection
⌨ (8:41:17) Player Lives
⌨ (8:57:54) The Menu
⌨ (9:30:51) Installing & Running LuaRocks
⌨ (9:42:18) The Score System
⌨ (10:03:12) Game Over
⌨ (10:11:56) Invincible PLayer & Infinite Levels
⌨ (10:31:07) Game Reset & High Score
⌨ (10:44:38) BGM & SFX
It's in the description...
@@TypicxlSortOfOdd i was about to say that but its 2 years old
I first thought "ah yes, quick tutorial", until I saw that it was 11 hours! Very in-depth though! Very helpful.
Have been making games in love2d for 2 years now. I love love 2d and I love the community. It is such an awesome way to learn programming. I would recommend love 2d to anyone who is starting out in programming. It is fun to use and simple.
what do you think about godot engine compare with this love 2d ?
@@garln Godot Engine is easier as you have a lot of features available, while with love2d is just a library. But you have more liberty with love2d, you can reinvent the wheel as you like
I am very biggest fan of this channel. This channel is like a heaven for coders who can't afford money.This channel is best in the world and thanks to all members for your dedication and hardwork.Thank you very very very much.
agree
it is better than the paid tuitions too
those people will just confuse you even more
and teach you the surface instead of the roots
Love2d is really simple and awesome if you really want to make a 2d game and not just use everything provided to you by some game engine.
I am the head of game development club of my college and we use it to teach game dev concepts along side with unity.
Love2D is a game engine...
o.o
omg at this point any tech i show interest on you drop a 12 hour course on it. May god bless you ❤️
The best Lua intro and LOVE2D game development. Thank you.
I paused it as soon as I saw how to draw things, made an entity component system, and then started fiddling with animations. Pretty easy stuff.
i've been scripting on roblox for 4 years (it also uses lua) and i learned more in this video than i did in those past 4 years. awesome.
its been two month and im only at 6 hours , im getting so sick of it but I need to keep it up. Studying my notes is taking me soo much time. Also, steve teacher, you are the goat 👍
NO WAAAAAAAY, YOU GUYS ALWAYS READ MY MIND, that's exactly what I wanted
I've now learned i can change the color of the text in my cmd bar and that I can also edit my code in notepad without constantly having to change the file extension and I'm not even 9 minutes into this video. That's crazy bro.
42:00 Order of operations (for anyone who needs a refresher): [Brackets], (Parenthesis), Exponents, Multiplication, Division, Addition, Subtraction. BPEMDAS. However in this case brackets are just more parenthesis and I guess you don't use [this], however usually you'd use [these] for brackets.
54:53 I freaking love if statements. And else makes them even more compact.
Good video! The professor of my professor is Lua's creator. BRAZIIIIIL!!!!!
If you are on windows 11 you can't change a file type via file explorer by default, you can also show extensions by click on view > show > file name extensions
Or open notepad, write what he wrote, click "save file as" and put "main.lua" as the name, the type will change to a lua file after you save
my pet is not just an object, he is my family
lol!
3:50:30 So the reason it's difficult to wrap your head around this math is because you're doing the math in an unnecessarily unintuitive way. There is no reason to subtract your position from the player's position when you can just, you know, compare your position to the player's position. The comparison 'player.x - self.x > 0' is identical to just 'self.x < player.x'; do you see how much more intuitive the latter is? Instead of going "if the player's x position minus my current x position is greater than zero, then I am to the left of the player", you are simply going "if my current x position is less than the player's x position, then I am to the left of the player".
my brother and i are starting to get into making games, i am doing a top view shooting game kinda, hope to learn, startung the video now, good luck
How’d it go? Did you learn anything?
@@louietoy i learned how to make roblox and got sued for a trillion dollars
Love2D is really awesome. You can even use it to make homebrew 3DS games pretty easily.
You mean 2d right?
@@harsh_jain17 I think he meant Nintendo 3DS
@@klepikovmd oh ok my bad
Not only 3DS but also Switch and Wii
oh man, my younger self would've loved this. Still gonna watch it now :D
I don't program in Lua, but i love the Lua language. :D
I've never used Windows and I'm so used to Linux that I never realized how painful is to install something in Windows.
XD!
@@Stevesteacher can u make roblox studio course pls
It is not.
@@teamk4allIn comparison to how easy it is on Linux, it kind of is.
I'm very used to both systems, so it doesn't bother me, but Linux is undeniably easier.
@@QuotePilgrimwhat version of Linux do you use? I keep thinking of trying it and I feel like it's quite a change
Quite good I've been waiting to see if I enjoy love 2d development as I like the simplicity of Lua; it is simple but powerful
Yes, sometimes keeping it simple actually makes the developer experience more fun! :D
Um I'm fairly certain there is technically no integer data type in lua, I'm pretty sure both ints and floats are considered as "number" which is always float, the only way around this (at least in love2d) is to use the luajit "bit" library then you can at least do bitwise operations on number type variables though idk if it allows actual integer arithmetic
They do both fall under the 'number' data type, but it is good to know the difference between integers and floats, especially if you plan to later on do programming in a different language or get in a discussion with other programmers
For RTS gamers, look into spring games like Zero-K which uses Lua.
Just to let you know Lua is heavily used in a lot of database engines and IT infrastructure apps and tools. Like Redis Nginx
Lua is everywhere, and it's awesome!
I don't plan on making a game but my friend who uses Roblox studio is planning on making a bunch of games and this can really help him
Thanks for these videos!! I really enjoyed coding in Lua for the first time!))
I am happy you enjoyed it! :D
Great teacher, thank you!
Thank you for this man yesterday the front end and today this thankyou
Lua is used in the incredible audio DaW Reaper also.
7:30:05 don't mind this comment and thank you sir for making this video
I don't think many people are looking at this anyways since the last comment is from a year ago but:
Thinking that this statement 'x = 5' is read as 'x is equal to five' will only mess with your head later on, it is better to think of it as '5 is being assigned to x'.
For the life of me I can't comprehend why everybody teaches that '=' means 'equals to'
The way u described it it's exactly how i was taught it in High School, i get hat ur saying.
Yes, I understand, it makes more sense to say assigned, since it is not technically equal - however, I believe *if* the teacher does their job good enough, that small wording difference may not matter in the end and may make it easier for some non-English speakers to understand (keep words small and sentences simple)
How the hell are you doing a good job to begin with if you can't even get the terminology right.
= is not the same as ==
and no == is not double equals and this != is not about being excited to be equal to another thing and these comparison statements and the operands are not even the most complex.
For the life of me, I cannot understand why people make learning to code as this magical thing and complicated when it is in fact very easy and even easier to explain if you are not being an asshole about it.
@@Stevesteacher
@5:51:07 if you dont understand the math, how did you know its outcome?? sorry if it comes across rude, im just curious
Lol a loooot of trial and error and google went into scripting the tutorials ;)
I plan to use Lua not only to make some games for income but also Missions for DCS world
To make the pacman game work the opposite way just switch food_eaten to true in the load function. Then tell if pacman.x >= food_x + 20 then food_eaten = false in the update function. Finally, tell if food_eaten, then draw the rectange.
That way you tell it to draw the triangle as long as the pacman shape's x-axis is smaller than the food's x-axis(food_eaten = true) then if they are equal or the pacman's x-axis is greater it do not enter the if statment so the food is not drawn.
_G.love = require("love")
function love.load()
love.graphics.setBackgroundColor(0,0,0)
_G.pacman = {}
pacman.x = 200
pacman.y = 250
pacman.eat = true
_G.food_x = 600
_G.food_eaten = true
end
function love.update(dt)
pacman.x = pacman.x + 1
if pacman.x >= food_x + 20 then
_G.food_eaten = false
end
end
function love.draw()
if food_eaten then
love.graphics.setColor(1,1,1)
love.graphics.rectangle("fill",food_x,200,70,70)
end
love.graphics.setColor(1, 0.7, 0.1)
love.graphics.arc("fill", pacman.x, pacman.y, 60,1,5)
end
Can you teach us how to mod games using Lua/C# please? ♥
it depends on the game
@@mokafi7 resident evil 4 for example?
@@thecodfather7109 i dont know how but im pretty sure its different for each game, maybe unless its from the same company. look online and youll find what you want
@@mokafi7 tbh dude I was trying to do a character swap where I go from the main player to switch to a boss character to play in the main game but couldn't for the life of me find anything online which sucked 😔
@@thecodfather7109 yeah something like this also happens to me from time to time where i cant find what i want, it sucks.
IS THAT A BREAKING BAD REFERENCE?! 45:11
watched 50 minutes of the video. Lua reminds me of Ruby the programming language.
I'm stuck on changing the text file to lua bc it will just change the name to main.lua, not the type of document :')
The type does not matter, neither does the file extension, you can still run the code, the file extension is just there so Windows/Linux/Mac and whatever code editor you are using knows what to do with the file, Lua itself can run a .txt file if needed
i love you guys channel i learn a lot
this is incredible I didn't think they would bring Lua!
now i ask when is godot engine?
Is this course helpful for FiveM development (which uses Lua) ?
Yes
Definitely making a quiz game or something else
I'm all about an extreme Space Invaders. And then going forward, Thunder Force! Represent!
2:22:30 why are they not far equally? is the Video cut-out? Amazing series btw, thanks a lot!
Thank you so much for this course! ❤❤❤
I hope you enjoy! :)
Best video ever found on TH-cam. First one to like and comment 🎭🥰
i was amaze on its syntax very simalar to english word
Thanks for your amazing content ❤️❤️🌹
Hi, very cool video, and i hope in future you'll make the ray caster tutorial on love2d
You know what, thanks for the cours and why does your cursor look like a pawn from chess I literly taught you typed a weird character at the number 2(1:06:47 ) in the table.
Teacher bookmarked Codewars. Possible explanaition will be simple
2:10:23 roptop on his way to drop a massive 6 year update to just change it from 2.1 to 2.2
11 hours, here i come!!!!
At the start you install version 5.3.6, but later on you are using version 5.4.4.
Which you would recommend now?
where are the tooltips on hover coming from, i would like those in VS code
I don't know coding but the way opened power shell and closed and opened cmd at 9:52 did feel very pointless and felt like he was toying with me.
Can you make a tutorial on the Godot engine, please😭
I'm thinking of jumping back on that train, might make a few tutorials on it again, especially with the new version release coming soon
@@Stevesteacher thank you for your support 😭😭l really appreciate it
@@camcam983 They made one! (Its focused on 2D though)😊
you guys saw unity happen before everyone else sheesh
I would love to learn LUA. I have heard about this but I would need lot of time for watching this tutorial. Thanks keep on posting. I learned to create my own game on Roblox and ofcourse I have students who take Roblox classes from me. Now I will learn this to I can add it to my list and teach them as well.
Jippie waaahooo!!:3
Hooray!! :D
Never used love 2d.. so following on my own. I just got the the config file section and I think its wrong, maybe re-work that part. the version number part for instance specifies what version of love the game needs.. it is not the version of your game development. Edit: Haha, Did you just say window.vsync was to synchronize sound and video?
i might have missed it, but what is that 'terminal' called that you are using? looks very handy!
I use the XFCE terminal, but you can get the same experience in VSCode's terminal and powershell ;)
In the conf.lua section, "t.version" seems to relate to the LOVE version. Not the arbitrary program version.
Yes! That was a mistake made in the video, it is the LOVE version and not the game version
0:20
I would like a dynamic action platformer game and then, if I'm good at it, a Metroidvania.
Let the course begin.
can u tell, from u opened that screen in printing and comments that u minimised at the right bottom? and what is that? and from whr did u open that file manager. im mine it id the normal one but in your its diffrent. PLS TELL
I use the i3 window manager on Linux ;)
Can you format the description so the time stamps works on the video?
Fixed, thanks for letting us know the issue.
What I don't like at the beginning is the 2 0 3 0 psychopaths colors.
haha!
Man's got the Linux anime girl wallpaper nahhhh dawg😰
Do you need to install lua? I am trying to learn it to code scripts for fivem. I have never installed lua in the past. Is it necessary? Or what is the purpose of downloading it? Sorry if dumb question I am super new
FiveM embeds the Lua interpreter, so you only need to install Lua if you intend to compile it or another lua-embedding game from source or to build standalone games in pure Lua (this video).
JIT, Just In Time, I think to learn other engine since the one I used currently doesnt have clear purpose and I am tired already. I want to try using framework or graphics library.
You could consider using Python and the library Pyglet. I use it all the time to create visualizations. Although Pyglet doesn't have inherent 3D support, it has complete integration with OpenGL, and you can develop your own 3D engine with Pyglet as a wrapper for OpenGL.
@@AntonioZL Thank you I will also take a look into that, I more into 2D so I think for now without 3D support it's fine.
It just says lua53 is not recognized as a internal or external command when i try to say lua53 in powershell and it still doesent work when i change the directory to the main.lua file.
Seems like it wasn't installed correctly or not in your system path
@@StevesteacherAccording to this tutorial, there's no way to install it. You just put it in a folder.
@@loonatron4524 That is what happens when you install a program, in this case we just had to do it manually, since Lua does not do it automatically like Python, Nim and many other languages
what vscode extension are you using for lua?
44:55 I always get the same random number, any solution?
Even when you use math.randomseed(os.time())?
@@Stevesteacher When using Math.randomseed(Os.time()), it works :)
Please bring videos on full stack java and rest api using spring boot etc
I have a question. If I already have lua running in vscode, do i still need to install a version of it directly from the website?
no as long it works. Remeber thet it's optimal to follow the tutorial thow
hey so i was doing the custom.lua file and added a print between end and return mod. When i did this it printed the print first then the mod example you provided, why?
45:12 lmao
Can Yawl do One of these Videos On "Retro Gadgets" the game, On steam. it also uses LUA. Also Computercraft/CC:Tweaked Mod in Minecraft.
Nice!
Thanks for rhe courses (not yet finisehd but cool !!)
I'm always happy to help! I hope you enjoyed (or is enjoying!) this course!
2:45:58
Thank you
Brother, is there a way to make a script that works in Game Garden?
What’s that file system thing he has in the middle of the screen during the trash file set up of the vs code section?
Could you please point to a timestamp? 🤔
its a terminal go run the program.
Hey, can someone help me. I stopped going to school at the age of 15 so I can go to college vocational. But for some reason my parent didn't let me since they didn't like the course that I chose. Now I'm interested in programming language, to be more specific, I want to create a website or an apps. But I don't have any diploma or any certificate. Also, I want to learn it from very beginning and want to work with companies like shopee or Lazada (e commerce apps). Can someone tell me where I can learn and get certificate for this?
_G.Global Variable. If i dont put local hasnt it specified as a global var. I know u said it wasnt obligatory but why add it to the video.Isnt it StressFul
Lua has that name because it was made in Portugal? right
cool video)
Thanks! :)
1:28:47 i dont get this part rewatch 1:54:00 to add things to the classes inheritance
1:41:38 why did they return
1:50:0 idk
I'm gonna make one of those naughty cartoon games. Not because I'm into that sort of thing but because they sell so well!
use anime style characters and u will become rich
Smart move! Maybe I'll play it 😏
We need sfml with c++ ! 🥺
Maybe sometime I'll take a look into that and make a course on it ;)
@@Stevesteacher 🙏❤️❤️
Hi Bro. In fact, I dont know if I learn SFML or Love 2D. Everything you made with Love2D can made it with SFML and viceversa?
8:15 i dont see the .txt what do i do
Just open the file in VSCode ;)
@@Stevesteacher thanks!
I have got a question. When i create a new text document .txt doesnt appear the only thing that appears in the name is Text document. How can i solve this?
You need to show file extensions in Windows, however you can also change the extension in VSCode
Guys if you think your lua code is not running or appearing what you wrote on vscode in the terminal. Enable autosave.
Hopefully im the only guy who got this "problem".
Yes, most of the time the code is just not saved! It's rather a funny moment when you realise it haha
Don't mind i'm using this comment as a bookmark 1:05:33
can you do Game Development with Roblox and Lua - Full Course next?
I'm considering doing a few modding and Roblox videos after my next game dev course ;)
12:00
46:22 (stop 1)
OOP in this so fucked, i love it