There should be more Love2d tutorials on KZbin. I love this program. (no pun intended)
@kaiser93213 жыл бұрын
It’s ok
@DevineInnovations3 жыл бұрын
@@kaiser9321 What do you prefer?
@kaiser93213 жыл бұрын
@@DevineInnovations I didn’t see this at the time, but I use unity with C#
@legiovictorum3 жыл бұрын
I love löve
@samar28752 жыл бұрын
I wanted to do a Love2D project but the whole environment and libraries and functions were so unfamiliar and thus frightening to me so I looked for tutorials on KZbin and now after watching your video I feel so READY and CONFIDENT to start my Love2D journey! Thanks a lot for your awesome videos!!!!
@auxiliaryboxes2 жыл бұрын
Absolutely adore this game engine. It's simple, extremely flexible, and easy to pick up yet won't hold your hand on many tasks that other engines might. Plus, the love2d forums are still very active and you can always get the answer you need! This engine is ideal for anyone getting started with gamedev who also want to get their hands dirty with some of the more abstract programming problems you'll come across when making games. Love2d + Lua can do basically anything, but by extension, they won't do as much for you. Get into the weeds, read lots of documentation, and talk to other developers who are making libraries and modules to handle complex tasks.
@reinbew6211 ай бұрын
The wiki is pretty useful too.
@trevorsteinkruger636811 ай бұрын
It was such a surprise to hear your voice in this random tutorial I looked up! I have been loving your game dev videos. Now I love your tutorials as well! Thanks.
@seth-blank2 жыл бұрын
Someone give this man a reward for giving us such a good tutorial.
@tsbohc3 жыл бұрын
As someone who's participated in a few gamejams, this is an awesome introduction to gamedev! The demo project is simple enough and very thoroughly expained. Great work!
@OmegaZero10826 ай бұрын
this is easier than any programming language i learned before how crazy, easy to learn, easy to understand
@immortalsun4 ай бұрын
Thanks for this video! I purchased your course and finished it earlier today. I’ve now made three basic games thanks to you, and I’m ready to make a _real_ game, with my blood, sweat, and tears. Thank you for the course! :)
@FightWither Жыл бұрын
I've been trying to get into game dev for awhile and I tried Unity, GDevelop, Godot, GameMaker, and now Love. I think I'm gonna stick with love for now good tutorial
@JacksonHammond-s3r13 күн бұрын
Just a very, very well put together tutorial. Beautifully pace and explained. Thank you!
@randomsujal65162 жыл бұрын
i dont usually comment on youtube videos but i couldnt help myself from commenting on this one !! such an amazing tutorial !! thank you so much
@Inuzika10 ай бұрын
the fact that Love lets you write programs in Lua language without actually needing Lua itself is pretty fascinating. Truly a marvel of technology if you ask me.
@4rumani6 ай бұрын
Why is that fascinating?
@likekebab-qg3yr4 ай бұрын
roblox also does that buddy
@why-m3g3 ай бұрын
@@likekebab-qg3yr frame works usually need for you need download the programming language. Roblox is more game engine than framework.
@synthoelectro3 жыл бұрын
Love takes me way back to the days of BASIC on Tandy Color Computer II.
@sourcream1671 Жыл бұрын
This is a really cool course! What I recommend to people following this is in between lectures you should mess around with the functions yourself and make sure you fully understand what's going on.
@jenesisdelacruzjdc3 жыл бұрын
I came from the old Version Your voice is sooo crisp now lol Thank you so much for the wonderful tutorial!
@Challacade3 жыл бұрын
It's amazing how much of a difference a better recording setup can make!
@adrishikharghosh94193 жыл бұрын
Thanks so much for this. Was stuck trying to install it but with VSCode for about an hour haha. You saved my life.
@AlexPiotrowski3 жыл бұрын
Thank you for putting this tutorial up for free! i will continue to learn from you in udemy (even though i like udemy as a platform). You 100% deserve my support!
@GPEART1 Жыл бұрын
Thanks for this, I am new to any type of programming, this was nice to complete, looking forward to doing all of the Udemy course, this was a great advertisement for it!
@kokosbrokenpencils53943 жыл бұрын
I love Lua with Love2D! 💕
@blacktainfalcon70973 жыл бұрын
For everybody who's file saved as txt despite changing the file to main.lua- set the file's name to default (naming it "newfile" works) open the file in notepad Save As- Type in "main.lua" Change " Save As Type" to "All Files" Change "Encoding" to "Unicode" (or ANSI) It should finally save as LUA file now
@michaelduncan122 жыл бұрын
Also he mentions you can enable viewing the file extension. Then that way, you can change the extension that appears.
@killertigergaming67622 жыл бұрын
And thats one of the many reasons why I don't use the cancer that is windows
@hi-ux2ur3 ай бұрын
this guy needs a raise...
@ChristopherCro2 жыл бұрын
I know lua from roblox(studio, roblox is my childhood game). And I still wrok in Roblox but I wanted to go outside. I am learning python but I already know lua. So I finnaly found A GREAT PERSON TO TEACH ME HOW TO USE LUA OUTSIDE ROBLOX. Thank you.
@palakprasad281 Жыл бұрын
easily explained and totally satisfied with the output..great sir
@unlxck32552 жыл бұрын
You are so unique. I wish more tutorials would be like your tutorials.
@maca22373 жыл бұрын
What a great tuturial,and it's also ez to convert this into mobile.I wish there was more tuturials about Love2d like this one,bcs I am going to need Love2d for a gamejam.
@Immow3 жыл бұрын
Awesome video, one small tip, you did mention at the start of your video that you have tutorials about tables. Later in the video when you get to the target table, I would mention it again that you have information about that on your website! Keep up the good work :)
@Challacade3 жыл бұрын
That's a good idea; thanks for the feedback!
@retsapb63193 жыл бұрын
Best tutorial on Love2D around, great pacing
@Challacade3 жыл бұрын
Thank you!!
@dabunnisher296 күн бұрын
As always, this was well done. Thank you!
@dotdashYTP2 жыл бұрын
Thanks for the edit extension part, it was such a hassle creating ".love" files before
@tbeanz3 жыл бұрын
Thank you for this video Kyle, it was a great intro to Love2D!
@Maxsmorio8 ай бұрын
this is the greatest programming video on youtube
@platoriamS3 жыл бұрын
Great tutorial! I wish Love and Lua were more popular, it looks like it has a lot of potential.
@GVN.132 жыл бұрын
Lua is popular, its legit what developers use for coding in Roblox.
@realmanbenfake9992 жыл бұрын
@@GVN.13 roblox uses a modified version called luau, not lua
@GVN.132 жыл бұрын
@@realmanbenfake999 o lol
@immortalsun4 ай бұрын
Balatro was made in LÖVE.
@sometimespin76483 жыл бұрын
love your tutorial. very detail and clear explanation. keep up the work, we want more from you. thanks
@smanzoli2 жыл бұрын
Free clue: When finding distances, never use square root, it´s slow, expensive to the cpu (of course in this example, no problem AT ALL, but sometimes you´ll be chacking hundreds, thousands... then you´d lose some fps. Simply do not calculate it... and compare to de radius squared instead. multiplication is much much faster than sqrt.
@pyrytheburger38692 жыл бұрын
how to do it? im dumb
@prcs4202 жыл бұрын
hi! i did what you suggested, and it worked! i was just wondering if you would mind briefly explaining the maths behind it? i know you made this comment a while ago, so i am not sure if you will see this or if you will reply if you do, but... i thought for sure that the score would increase even if you clicked outside of the circle because the radius and distance calculated were both squared. but they didn't! if you see this and would like to explain, i would really appreciate it 😊
@not_herobrine37524 ай бұрын
@@prcs420 if you are checking whether a point is inside a circle, you dont have to compare whether d is less than the radius when you could (cheaply) compare whether d squared is less than the radius squared, as the expressions d = sqrt((x2-x1)^2 + (y2-y1)^2) is equivalent to d^2 = (x2-x1)^2 + (y2-y1)^2
@S0up__2 жыл бұрын
I am thankful for this tutorial as it helps out alot with a game im working on, and once again Thank you.
@RedMoon814 Жыл бұрын
Great tutorial and game dev introduction! Helped me a lot :)
@rogerwinright22903 жыл бұрын
I LOVE (all puns intended) your content! Your Monogame course on Udemy was fantastic as well. By chance, could you do a tutorial on Tiny ECS and LOVE2D sometime? This framework + that library seems like an awesome starting point on the "new industry standard" using ECS to build games!
@freedom_aint_free3 жыл бұрын
At leas on this very basic example, it does look simpler then PyGame, specially the mouse handling is cleaner in my view, I'm going to keep watching and trying more tutorials to get an idea, maybe I'll even switch from Python's PyGame to Lua's Love.
@StockholmTrainspotter Жыл бұрын
Amazing explanation, i learned alot. And you made me intressted in what you were saying! thanks.
@apurvhenkare10383 жыл бұрын
Amazing video , your tutorial has helped me to build a game of my own👍👍
@kryptermusic3 жыл бұрын
thank you so much for showing me about love2d and VSCode
@BekBrace3 жыл бұрын
Thank you Kyle for your effort ! Great course, indeed
@varshinibomma53113 жыл бұрын
Love this tutorial!! thank you so much!
@abhishekjayesh35173 жыл бұрын
Good work bud. Was really helpful! thanks
@rohan7513 жыл бұрын
This was a superb tutorial 10/10.
@rohan7513 жыл бұрын
Bought your course ✌
@ThatUltra2 жыл бұрын
Thank You For The Love2d Tutorial :D
@fitelio53152 ай бұрын
Thank you, you've helped me so much.
@Zj3b69 Жыл бұрын
i have noticed that you didnt add timer to it so using knowledge i got from your video i did it so you need to put code 1 below into function love.draw() Code 1: love.graphics.setColor(1, 1, 1) love.graphics.setFont(gameFont) love.graphics.print(timer, 90, 0) then you need to put Code 2 into function love.update(data) Code 2: timer = timer + 1 Fun Fact: it might be a bit too fast lol
@ivoplaninic93563 жыл бұрын
This is just like pygame, love it just like my dear python
@Riodragon13 жыл бұрын
love2d vs godot vs other engines , you could do a video about that? , it would be cool
@scraped_24543 жыл бұрын
First thing i learn is Osu, Holy the vibes are real.
@chaos22325 ай бұрын
OMG I LOVE YOU THANK YOU SO MUCH
@PetrPustota-q5r10 ай бұрын
for macOS you should use Command+L
@RolexDouble0073 ай бұрын
I was looking online everywhere for the solution to Alt+L. Thank you!!
@MyNextComplaint9 ай бұрын
am hav doubt what is 'The "path" argument must be of type string. Received undefined'
@jackhcsa46237 ай бұрын
It means that somewhere in your program (the error message should tell you in which line this is happening) a function you're calling probably loads or interacts in some way with another file and so it needs the path to it as a string. eg: love.graphics.newImage("../path/to/your/image") notice the "" those are what makes it a string. Hope this helps! maybe, I know it's a month old comment but still
@juniornicolodi2 жыл бұрын
awesome content, saved me!
@shrikrishna_exe2 жыл бұрын
Bro you are amazing 🙏🏽🙏🏽🙏🏽🤝🏼👌🏼👌🏼
@MegaVeryoldman2 жыл бұрын
thnx a lot, its realy intresting type of programming ! more some tutorial !
@immortalsun4 ай бұрын
Thank you! I love you.
@k98killer Жыл бұрын
Would you say that this style is idiomatic for Lua libraries? I'm used to Python, Go, C#, JS, etc and pretty new to Lua. The way I have written libraries in other languages is typically to accept callbacks to library functions rather than dynamically set/monkey patch the library functions themselves. Is there some performance benefit to using monkey patching instead of passing in a callback?
@user99i Жыл бұрын
Now make someone knowing nothing about programming or game development listen to this without context 💀 Jokes aside this is a great tutorial
@Stevesteacher3 жыл бұрын
Wow, thank you so much!
@ggjcggg2 жыл бұрын
you are the best
@landothemaker43403 жыл бұрын
You just got a new subscriber :)
@Challacade3 жыл бұрын
Thank you!
@NAMEHUKUI3 ай бұрын
Thanks that helped so much
@rigelstarz60323 ай бұрын
how do i do serialization? you are the only love 2d youtuber i know past 2018
@senex59552 жыл бұрын
how do I setup the pathway for the love app if I'm on Mac? It keeps telling me the app can't be verified so it can't be opened.
@readmore89746 ай бұрын
How did you get the parameter hints working for VSCode?
@omegafala7202 жыл бұрын
Error when i try to open
@stardustbiscuits3 жыл бұрын
After i made my folder, i am not able to add a text file. It is a magic text document instead. Please help me.
@mouldycheesebutlikeinabadw30113 жыл бұрын
it shouldn't matter, since you're making it a main.lua file anyway
@caulong52743 жыл бұрын
So when I see this particular part 13:36, I see that u use the "method" .graphics, my question is how do u know what does each method do, or is this just an experienced programmer thing? P/S: Nice video, loving all the hard work u put into this
@Challacade3 жыл бұрын
This is a good question, and really the answer just comes down to experience with the framework. As a newcomer, you would ask "how can I draw text to the screen in Love2D?", and if you Google that exact question, you'd eventually end up at the documentation for love.graphics.print: love2d.org/wiki/love.graphics.print
@caulong52743 жыл бұрын
@@Challacade Dang, I never thought people would reply me this fast, thank you so much man!!
@jacobman87203 жыл бұрын
thanks man really helped
@zhinew_mc10542 жыл бұрын
how great the framework is!it makes a big difference to such me a noob(by the way,are there any Chinese programmer?)
@pedrosantos53373 жыл бұрын
cool tutorial! very helpful :)
@jordanjackson61513 жыл бұрын
I've been struggling with everything. How do you get the Loved Console to show its black window as opposed to the dammed error screen? I only got the console a few times. But now I even have another question. What commands are you doing to get it to run after you establish the code as you did for the rectangle? As a complement I'm glad you're doing this in Visual Code on a 2021 vid. I have the latest Asus laptop. So this seems fitting.
@Challacade3 жыл бұрын
The drag-and-drop method is foolproof to get the black window. Create a new folder, put a file in it called 'main.lua', and drag the folder onto the LOVE shortcut. Make sure your main.lua is actually a Lua file, and not a different filetype. If you do that, and main.lua is empty, I guarantee you'll see the black window. If you see the error screen, read the error it tells you and see if you can fix the problem. If it says the project is invalid, then you don't have a main.lua file in the folder. And the command to run code through VS Code is Alt+L. See 8:58 for that.
@jordanjackson61513 жыл бұрын
Did it all. Got nothing. Well it tells me I might have to reinstall as it can't recognize certain software properties, when clearly in the LOVE folder with all its downloads they are right there. Running out of time.... been attending a course on this. With NO results but newly bought software and hardware plus new and newer downloads. I practice coding but with NO game to apply it to in LOVE. Which is of the course.
@jordanjackson61513 жыл бұрын
@@Challacade Nevermind XD. Thank you for everything. Had a breakthrough. I've got catching up to do now. Thanks.
@jordanjackson61513 жыл бұрын
@@Challacade Now its another day. The code doesn't want to run again like it did yesterday. I even reinstalled. Seriously why is this so hard? I can follow directions and type things just fine. But now, its just nothing. I cant find the settings fr the Love2D Support the same way. Oh wait now its here. But the moment I click off what will happen?
@jordanjackson61513 жыл бұрын
@@Challacade Okay. I just finished the vid. And now I've successfully done it. However the case. Is there a right way to save all this so I don't have to redo this video all over again? Ah..... I won't question you too much more. I'll keep at it until again.
@GeorginaAdjaye-Aggrey Жыл бұрын
my text document didn't change to a lua file. am i doing something wrong?
@HenriqueAndrade Жыл бұрын
Eu amei esse tutorial! Parabéns!
@applebeestacos48403 жыл бұрын
Is love2d only for small projects, can it do medium size projects?
@Challacade3 жыл бұрын
As long as the game is 2D, it can handle larger projects, absolutely.
@Kishan8_83 жыл бұрын
Thank you sir Very usefull tutorial.... ❤❤❤❤❤❤❤❤❤❤❤❤❤👍
@vik93833 жыл бұрын
Cheers mate
@Foxtro3 жыл бұрын
"mom can we have osu at home?" "we already have osu at home, wdym?" osu at home : btw it was a really goood tutorial about love, i love it!
@Splashpaff2 жыл бұрын
Lol i was watching your tiktok and think : thats will be cool if he had a youtube channel and made tuto i searched on google : how to make 2D game with love2d and i found your channel in first
@fryt2744 Жыл бұрын
41:51 bro used Pythagoras's theoreme formula in simple game. Math is based.
@Zrarlq2 жыл бұрын
Thanks for creating this but there is just one problem I didn't know the link comes with a discount so I wasted it
@redcater39182 жыл бұрын
It won't open the file in Love2D when I click run or when I drag the file over love.exe. Any solutions?
@sethjackson201010 ай бұрын
for some reason my rectangle turned to a square.. couldn't get it to change back.
@RS-iq5ow2 жыл бұрын
Thank you.
@Dreaming-Void7 ай бұрын
How does one add little notes in your code without it running? On rublox you can type in ## and then you’re message..I think.. I dunno, it’s been a while since I did silly coding .u. Turns out you need to type “- -“ and BOOM :D (don’t put a space like I did thought ,u,)
@wiskasIO2 жыл бұрын
It's feel weird not using semicolons and curly braces... GREAT video btw!!!
@eboatwright_3 жыл бұрын
could you make a more advanced tutorial? :D
@itsmelvintime2 жыл бұрын
bruhh my circle target stops every time i click i have to reset the engine what do i do
@JimmyButBetter2 жыл бұрын
Ive done stuff like said in the video before 16:57 and nothing happens, just a black screen edit: i forgot to save, holy shit im dumb
@Golden_Hephaestus3 жыл бұрын
If I wanted to make the circle into a square, what would I use instead of if mouseToTarget < target.radius then ? I wanted to make a square version, but not sure what to replace radius with, adding the height and width alone doesn't seem to work.
@angrymurloc76262 жыл бұрын
There is this idea in game development, of a "box collider". Love2d has native support for those, but if you want to hack them in yourself, what you need to do is: replace the single comparison with 4 separate comparisons have two of them check whether x_pos is in between square_x +- width/2 and the other two whether y_pos is in between square_y +- height /2 It's a bit finicky, but you'll find much faster than using circle colliders
@Golden_Hephaestus2 жыл бұрын
@@angrymurloc7626 ooh! I was able to figure it out after a bit too many hours, but I'll definitely try that way when I have time! Thank you so much! Trying/figuring this out seems like fun, be well!
@wohao_gaster74343 жыл бұрын
Thanks! I was wondering why I had no game engine
@sanjithwalker6041 Жыл бұрын
I'm facing issue it's only show blank screen anyone know how to fix this issue
@bojiun13773 жыл бұрын
Im using Macbook, I dont have ALT on my keyboard. I tried option, command, and control + L, but didnt work. Any suggestion?
@Challacade3 жыл бұрын
On my Mac, it automatically set the shortcut to be Command + L. If you go to the Extensions section in VS Code, and then click on Love2D support, there's a tab called "Feature Contributions" which shows the different commands associated with Love2D Support. The shortcut for pixelbyte.love2d.run is what you're looking for. Keep in mind that the shortcut only works when you have a game folder open in VS Code; if you don't have a proper project open, it won't work
@naddantdmgaming41072 жыл бұрын
tip: if it dosnt work in the brackets on load put dt
@thecodingprimate73249 ай бұрын
Thank you!!!
@gamer-wl5sv2 жыл бұрын
Any GUI interface in future ?
@lidarman22 жыл бұрын
Can someone help me understanding functions? I see functions that are defined such as love.draw() that seem to just execute automatically but then there is the function, for example, distanceBetween(x1,y1, x2, y2) that is defined and called to return a value like I would expect. So are all functions always executed in lua and it's whether it influences the state is what matters? If I never use distanceBetween(...) does it still execute? And how come the function love.load() seems to execute only once where love.update() executes at the frame rate? What determines this?
@prsncwakoti6852 Жыл бұрын
Here after 6 months but The functions that contains love are built-in functions that you can directly use, however you can make your own function to do something or return something.