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.
@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!
@seth-blank2 жыл бұрын
Someone give this man a reward for giving us such a good tutorial.
@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.
@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! :)
@synthoelectro3 жыл бұрын
Love takes me way back to the days of BASIC on Tandy Color Computer II.
@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!
@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
@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!
@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.
@4rumani7 ай бұрын
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.
@adrishikharghosh94193 жыл бұрын
Thanks so much for this. Was stuck trying to install it but with VSCode for about an hour haha. You saved my life.
@JacksonHammond-s3r14 күн бұрын
Just a very, very well put together tutorial. Beautifully pace and explained. Thank you!
@kokosbrokenpencils53943 жыл бұрын
I love Lua with Love2D! 💕
@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.
@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!
@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...
@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.
@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
@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.
@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!
@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.
@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
@dotdashYTP2 жыл бұрын
Thanks for the edit extension part, it was such a hassle creating ".love" files before
@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.
@retsapb63193 жыл бұрын
Best tutorial on Love2D around, great pacing
@Challacade3 жыл бұрын
Thank you!!
@dabunnisher297 күн бұрын
As always, this was well done. Thank you!
@tbeanz3 жыл бұрын
Thank you for this video Kyle, it was a great intro to Love2D!
@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!
@kryptermusic3 жыл бұрын
thank you so much for showing me about love2d and VSCode
@RedMoon814 Жыл бұрын
Great tutorial and game dev introduction! Helped me a lot :)
@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.
@sometimespin76483 жыл бұрын
love your tutorial. very detail and clear explanation. keep up the work, we want more from you. thanks
@S0up__2 жыл бұрын
I am thankful for this tutorial as it helps out alot with a game im working on, and once again Thank you.
@StockholmTrainspotter Жыл бұрын
Amazing explanation, i learned alot. And you made me intressted in what you were saying! thanks.
@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
@BekBrace3 жыл бұрын
Thank you Kyle for your effort ! Great course, indeed
@Maxsmorio8 ай бұрын
this is the greatest programming video on youtube
@apurvhenkare10383 жыл бұрын
Amazing video , your tutorial has helped me to build a game of my own👍👍
@PetrPustota-q5r10 ай бұрын
for macOS you should use Command+L
@RolexDouble0073 ай бұрын
I was looking online everywhere for the solution to Alt+L. Thank you!!
@scraped_24543 жыл бұрын
First thing i learn is Osu, Holy the vibes are real.
@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
@varshinibomma53113 жыл бұрын
Love this tutorial!! thank you so much!
@fryt2744 Жыл бұрын
41:51 bro used Pythagoras's theoreme formula in simple game. Math is based.
@fitelio53152 ай бұрын
Thank you, you've helped me so much.
@abhishekjayesh35173 жыл бұрын
Good work bud. Was really helpful! thanks
@omegafala7202 жыл бұрын
Error when i try to open
@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
@ThatUltra3 жыл бұрын
Thank You For The Love2d Tutorial :D
@user99i Жыл бұрын
Now make someone knowing nothing about programming or game development listen to this without context 💀 Jokes aside this is a great tutorial
@rohan7513 жыл бұрын
This was a superb tutorial 10/10.
@rohan7513 жыл бұрын
Bought your course ✌
@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.
@shrikrishna_exe2 жыл бұрын
Bro you are amazing 🙏🏽🙏🏽🙏🏽🤝🏼👌🏼👌🏼
@chaos22325 ай бұрын
OMG I LOVE YOU THANK YOU SO MUCH
@GeorginaAdjaye-Aggrey Жыл бұрын
my text document didn't change to a lua file. am i doing something wrong?
@sethjackson201010 ай бұрын
for some reason my rectangle turned to a square.. couldn't get it to change back.
@MegaVeryoldman2 жыл бұрын
thnx a lot, its realy intresting type of programming ! more some tutorial !
@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!
@readmore89746 ай бұрын
How did you get the parameter hints working for VSCode?
@itsmelvintime2 жыл бұрын
bruhh my circle target stops every time i click i have to reset the engine what do i do
@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
@sanjithwalker6041 Жыл бұрын
I'm facing issue it's only show blank screen anyone know how to fix this issue
@TechBoxNorth3 жыл бұрын
final part of the tutorial doesn't work, the target still goes out of bounds. edit: erased the code and typed it in exactly the same again and now it works. Super strange!
@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?
@immortalsun4 ай бұрын
Thank you! I love you.
@ggjcggg2 жыл бұрын
you are the best
@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,)
@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
@Stevesteacher3 жыл бұрын
Wow, thank you so much!
@redcater39182 жыл бұрын
It won't open the file in Love2D when I click run or when I drag the file over love.exe. Any solutions?
@juniornicolodi2 жыл бұрын
awesome content, saved me!
@abhijaynagal-pianomusic3 жыл бұрын
I'm not able to run,,, at 13.59 please help
@NAMEHUKUI3 ай бұрын
Thanks that helped so much
@Kishan8_83 жыл бұрын
Thank you sir Very usefull tutorial.... ❤❤❤❤❤❤❤❤❤❤❤❤❤👍
@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
@null_ify2 жыл бұрын
for some reason, it only moves once when I click it.
@rigelstarz60323 ай бұрын
how do i do serialization? you are the only love 2d youtuber i know past 2018
@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.
@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?)
@darealcorygamer Жыл бұрын
Could you convert the game to it's own exe or
@thehatman_officialАй бұрын
is it normal for it to get detected as a virus?
@Jdeadevil3 жыл бұрын
That notation in the DistanceBetween section put me off, I've been struggling to understand this for two days now and I don't get it. I suddenly feel like I need advanced maths to understand Love2D.
@jacobman87203 жыл бұрын
thanks man really helped
@neito71032 жыл бұрын
How do you use dll libraries in LOVE2D
@wiskasIO2 жыл бұрын
It's feel weird not using semicolons and curly braces... GREAT video btw!!!
@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.
@naddantdmgaming41072 жыл бұрын
tip: if it dosnt work in the brackets on load put dt
@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!!
@landothemaker43403 жыл бұрын
You just got a new subscriber :)
@Challacade3 жыл бұрын
Thank you!
@eboatwright_3 жыл бұрын
could you make a more advanced tutorial? :D
@That1Dummy Жыл бұрын
48:14 when i click it shows "Error main.lua:29: attempt to compare nil with number Traceback [love "callbacks.lua"]:228: in function 'handler' main.lua:29: in function [love "callbacks.lua"]:154: in function [C]: in function 'xpcall'"
@HenriqueAndrade Жыл бұрын
Eu amei esse tutorial! Parabéns!
@wohao_gaster74343 жыл бұрын
6:22 So if it gets code it becomes JEVIL(jeez vil)
@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