[2021 Update!] Make Games with Love2D - Setup, Structure, and Development Basics

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

ความคิดเห็น • 231

  • @DevineInnovations
    @DevineInnovations 3 ปีที่แล้ว +142

    There should be more Love2d tutorials on TH-cam. I love this program. (no pun intended)

    • @kaiser9321
      @kaiser9321 3 ปีที่แล้ว

      It’s ok

    • @DevineInnovations
      @DevineInnovations 3 ปีที่แล้ว +2

      @@kaiser9321 What do you prefer?

    • @kaiser9321
      @kaiser9321 3 ปีที่แล้ว

      @@DevineInnovations I didn’t see this at the time, but I use unity with C#

    • @legiovictorum
      @legiovictorum 2 ปีที่แล้ว +3

      I love löve

  • @samar2875
    @samar2875 2 ปีที่แล้ว +8

    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 TH-cam and now after watching your video I feel so READY and CONFIDENT to start my Love2D journey! Thanks a lot for your awesome videos!!!!

  • @auxiliaryboxes
    @auxiliaryboxes 2 ปีที่แล้ว +12

    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.

    • @reinbew794
      @reinbew794 9 หลายเดือนก่อน

      The wiki is pretty useful too.

  • @tsbohc
    @tsbohc 3 ปีที่แล้ว +10

    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-blank
    @seth-blank 2 ปีที่แล้ว +5

    Someone give this man a reward for giving us such a good tutorial.

  • @trevorsteinkruger6368
    @trevorsteinkruger6368 8 หลายเดือนก่อน +1

    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.

  • @AlexPiotrowski
    @AlexPiotrowski 3 ปีที่แล้ว +6

    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!

  • @immortalsun
    @immortalsun หลายเดือนก่อน

    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! :)

  • @jenesisdelacruzjdc
    @jenesisdelacruzjdc 3 ปีที่แล้ว +6

    I came from the old Version
    Your voice is sooo crisp now lol
    Thank you so much for the wonderful tutorial!

    • @Challacade
      @Challacade  3 ปีที่แล้ว

      It's amazing how much of a difference a better recording setup can make!

  • @blacktainfalcon7097
    @blacktainfalcon7097 3 ปีที่แล้ว +13

    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

    • @michaelduncan12
      @michaelduncan12 2 ปีที่แล้ว

      Also he mentions you can enable viewing the file extension. Then that way, you can change the extension that appears.

    • @killertigergaming6762
      @killertigergaming6762 2 ปีที่แล้ว

      And thats one of the many reasons why I don't use the cancer that is windows

  • @adrishikharghosh9419
    @adrishikharghosh9419 3 ปีที่แล้ว +2

    Thanks so much for this. Was stuck trying to install it but with VSCode for about an hour haha. You saved my life.

  • @Immow
    @Immow 3 ปีที่แล้ว +8

    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 :)

    • @Challacade
      @Challacade  3 ปีที่แล้ว +1

      That's a good idea; thanks for the feedback!

  • @rogerwinright2290
    @rogerwinright2290 3 ปีที่แล้ว +22

    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!

  • @synthoelectro
    @synthoelectro 3 ปีที่แล้ว +1

    Love takes me way back to the days of BASIC on Tandy Color Computer II.

  • @randomsujal6516
    @randomsujal6516 ปีที่แล้ว +1

    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

  • @sourcream1671
    @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
    @GPEART1 ปีที่แล้ว +1

    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!

  • @OmegaZero1082
    @OmegaZero1082 4 หลายเดือนก่อน

    this is easier than any programming language i learned before
    how crazy, easy to learn, easy to understand

  • @Inuzika
    @Inuzika 7 หลายเดือนก่อน

    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.

    • @4rumani
      @4rumani 4 หลายเดือนก่อน

      Why is that fascinating?

    • @likekebab-qg3yr
      @likekebab-qg3yr 2 หลายเดือนก่อน

      roblox also does that buddy

    • @why-m3g
      @why-m3g หลายเดือนก่อน

      @@likekebab-qg3yr frame works usually need for you need download the programming language. Roblox is more game engine than framework.

  • @maca2237
    @maca2237 3 ปีที่แล้ว +1

    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.

  • @unlxck3255
    @unlxck3255 2 ปีที่แล้ว +1

    You are so unique. I wish more tutorials would be like your tutorials.

  • @ChristopherCro
    @ChristopherCro 2 ปีที่แล้ว

    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.

  • @kokosbrokenpencils5394
    @kokosbrokenpencils5394 3 ปีที่แล้ว +4

    I love Lua with Love2D! 💕

  • @FightWither
    @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

  • @palakprasad281
    @palakprasad281 ปีที่แล้ว +1

    easily explained and totally satisfied with the output..great sir

  • @smanzoli
    @smanzoli 2 ปีที่แล้ว +10

    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.

    • @pyrytheburger3869
      @pyrytheburger3869 2 ปีที่แล้ว +2

      how to do it? im dumb

    • @prcs420
      @prcs420 ปีที่แล้ว

      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_herobrine3752
      @not_herobrine3752 2 หลายเดือนก่อน

      @@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

  • @dotdashYTP
    @dotdashYTP 2 ปีที่แล้ว +1

    Thanks for the edit extension part, it was such a hassle creating ".love" files before

  • @hi-ux2ur
    @hi-ux2ur หลายเดือนก่อน

    this guy needs a raise...

  • @platoriamS
    @platoriamS 3 ปีที่แล้ว +2

    Great tutorial! I wish Love and Lua were more popular, it looks like it has a lot of potential.

    • @GVN.13
      @GVN.13 2 ปีที่แล้ว

      Lua is popular, its legit what developers use for coding in Roblox.

    • @realmanbenfake999
      @realmanbenfake999 2 ปีที่แล้ว

      @@GVN.13 roblox uses a modified version called luau, not lua

    • @GVN.13
      @GVN.13 2 ปีที่แล้ว

      @@realmanbenfake999 o lol

    • @immortalsun
      @immortalsun หลายเดือนก่อน +1

      Balatro was made in LÖVE.

  • @Zj3b69
    @Zj3b69 9 หลายเดือนก่อน +1

    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

  • @freedom_aint_free
    @freedom_aint_free 2 ปีที่แล้ว +1

    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.

  • @kyvexium
    @kyvexium 3 ปีที่แล้ว

    thank you so much for showing me about love2d and VSCode

  • @sometimespin7648
    @sometimespin7648 3 ปีที่แล้ว

    love your tutorial. very detail and clear explanation. keep up the work, we want more from you. thanks

  • @tbeanz
    @tbeanz 3 ปีที่แล้ว

    Thank you for this video Kyle, it was a great intro to Love2D!

  • @retsapb6319
    @retsapb6319 3 ปีที่แล้ว

    Best tutorial on Love2D around, great pacing

  • @S0up__
    @S0up__ 2 ปีที่แล้ว

    I am thankful for this tutorial as it helps out alot with a game im working on, and once again Thank you.

  • @apurvhenkare1038
    @apurvhenkare1038 3 ปีที่แล้ว +1

    Amazing video , your tutorial has helped me to build a game of my own👍👍

  • @BekBrace
    @BekBrace 3 ปีที่แล้ว

    Thank you Kyle for your effort ! Great course, indeed

  • @StockholmTrainspotter
    @StockholmTrainspotter ปีที่แล้ว

    Amazing explanation, i learned alot. And you made me intressted in what you were saying! thanks.

  • @RedMoon814
    @RedMoon814 ปีที่แล้ว

    Great tutorial and game dev introduction! Helped me a lot :)

  • @zhinew_mc1054
    @zhinew_mc1054 2 ปีที่แล้ว

    how great the framework is!it makes a big difference to such me a noob(by the way,are there any Chinese programmer?)

  • @fitelio5315
    @fitelio5315 19 วันที่ผ่านมา

    Thank you, you've helped me so much.

  • @scraped_2454
    @scraped_2454 3 ปีที่แล้ว +1

    First thing i learn is Osu, Holy the vibes are real.

  • @Maxsmorio
    @Maxsmorio 6 หลายเดือนก่อน

    this is the greatest programming video on youtube

  • @Riodragon1
    @Riodragon1 3 ปีที่แล้ว +2

    love2d vs godot vs other engines , you could do a video about that? , it would be cool

  • @varshinibomma5311
    @varshinibomma5311 3 ปีที่แล้ว +1

    Love this tutorial!! thank you so much!

  • @rigelstarz6032
    @rigelstarz6032 25 วันที่ผ่านมา

    how do i do serialization?
    you are the only love 2d youtuber i know past 2018

  • @abhishekjayesh3517
    @abhishekjayesh3517 3 ปีที่แล้ว

    Good work bud. Was really helpful! thanks

  • @ThatUltra
    @ThatUltra 2 ปีที่แล้ว

    Thank You For The Love2d Tutorial :D

  • @rohan751
    @rohan751 3 ปีที่แล้ว

    This was a superb tutorial 10/10.

    • @rohan751
      @rohan751 3 ปีที่แล้ว

      Bought your course ✌

  • @caulong5274
    @caulong5274 3 ปีที่แล้ว

    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

    • @Challacade
      @Challacade  3 ปีที่แล้ว +1

      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

    • @caulong5274
      @caulong5274 3 ปีที่แล้ว

      @@Challacade Dang, I never thought people would reply me this fast, thank you so much man!!

  • @PetrPustota-q5r
    @PetrPustota-q5r 8 หลายเดือนก่อน +1

    for macOS you should use Command+L

    • @RolexDouble007
      @RolexDouble007 หลายเดือนก่อน

      I was looking online everywhere for the solution to Alt+L. Thank you!!

  • @k98killer
    @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?

  • @ivoplaninic9356
    @ivoplaninic9356 2 ปีที่แล้ว

    This is just like pygame, love it just like my dear python

  • @MegaVeryoldman
    @MegaVeryoldman 2 ปีที่แล้ว

    thnx a lot, its realy intresting type of programming ! more some tutorial !

  • @chaos2232
    @chaos2232 3 หลายเดือนก่อน

    OMG I LOVE YOU THANK YOU SO MUCH

  • @immortalsun
    @immortalsun หลายเดือนก่อน

    Thank you! I love you.

  • @Splashpaff
    @Splashpaff 2 ปีที่แล้ว

    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

  • @Stevesteacher
    @Stevesteacher 3 ปีที่แล้ว

    Wow, thank you so much!

  • @NAMEHUKUI
    @NAMEHUKUI หลายเดือนก่อน

    Thanks that helped so much

  • @shrikrishna_exe
    @shrikrishna_exe 2 ปีที่แล้ว

    Bro you are amazing 🙏🏽🙏🏽🙏🏽🤝🏼👌🏼👌🏼

  • @HenriqueAndrade
    @HenriqueAndrade ปีที่แล้ว

    Eu amei esse tutorial! Parabéns!

  • @Zrarlq
    @Zrarlq 2 ปีที่แล้ว

    Thanks for creating this but there is just one problem I didn't know the link comes with a discount so I wasted it

  • @juniornicolodi
    @juniornicolodi 2 ปีที่แล้ว

    awesome content, saved me!

  • @ggjcggg
    @ggjcggg 2 ปีที่แล้ว +1

    you are the best

  • @user99i
    @user99i ปีที่แล้ว

    Now make someone knowing nothing about programming or game development listen to this without context 💀
    Jokes aside this is a great tutorial

  • @wohao_gaster7434
    @wohao_gaster7434 3 ปีที่แล้ว

    Thanks! I was wondering why I had no game engine

  • @jacobman8720
    @jacobman8720 3 ปีที่แล้ว

    thanks man really helped

  • @landothemaker4340
    @landothemaker4340 3 ปีที่แล้ว

    You just got a new subscriber :)

  • @Foxtro
    @Foxtro 3 ปีที่แล้ว +2

    "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!

  • @naddantdmgaming4107
    @naddantdmgaming4107 2 ปีที่แล้ว

    tip: if it dosnt work in the brackets on load put dt

  • @MyNextComplaint
    @MyNextComplaint 6 หลายเดือนก่อน +1

    am hav doubt what is 'The "path" argument must be of type string. Received undefined'

    • @jackhcsa4623
      @jackhcsa4623 4 หลายเดือนก่อน

      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

  • @pedrosantos5337
    @pedrosantos5337 3 ปีที่แล้ว

    cool tutorial! very helpful :)

  • @readmore8974
    @readmore8974 4 หลายเดือนก่อน

    How did you get the parameter hints working for VSCode?

  • @Kishan8_8
    @Kishan8_8 3 ปีที่แล้ว

    Thank you sir
    Very usefull tutorial....
    ❤❤❤❤❤❤❤❤❤❤❤❤❤👍

  • @RS-iq5ow
    @RS-iq5ow 2 ปีที่แล้ว

    Thank you.

  • @adammayes1873
    @adammayes1873 5 หลายเดือนก่อน

    Hey uh, the “Love.exe” program file isn’t loading for some reason… is there something I need to do?

  • @lidarman2
    @lidarman2 ปีที่แล้ว

    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
      @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.

  • @jordanjackson6151
    @jordanjackson6151 3 ปีที่แล้ว

    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.

    • @Challacade
      @Challacade  3 ปีที่แล้ว

      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.

    • @jordanjackson6151
      @jordanjackson6151 3 ปีที่แล้ว

      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.

    • @jordanjackson6151
      @jordanjackson6151 3 ปีที่แล้ว

      @@Challacade Nevermind XD. Thank you for everything. Had a breakthrough. I've got catching up to do now. Thanks.

    • @jordanjackson6151
      @jordanjackson6151 3 ปีที่แล้ว

      @@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?

    • @jordanjackson6151
      @jordanjackson6151 3 ปีที่แล้ว

      @@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.

  • @bienaimedavidson5921
    @bienaimedavidson5921 ปีที่แล้ว

    Nice tutorial man... you're like a hero for us (especially a beginnerlike me).
    I'd like some help. I want some bad circles to show up on screen. But if you click them with the mouse it reduces the score by 2. So far I've been able to create another table name "bad" with bad.x and bad.y etc. And the draw section i tell the program to create that bad circle if the score %4==0 it works but the two circles is on screen.I want the target circle to dissappear when the bad circle appears and I want the bad circle to disappear after 1 second if you don't click on it and if you click on it I want the score to decrease by 2. And i want the target circle to reappear after the bad circle dissappears so the game can continue.
    Help me !

  • @thecodingprimate7324
    @thecodingprimate7324 7 หลายเดือนก่อน

    Thank you!!!

  • @vik9383
    @vik9383 3 ปีที่แล้ว +1

    Cheers mate

  • @TechBoxNorth
    @TechBoxNorth 3 ปีที่แล้ว

    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!

  • @senex5955
    @senex5955 2 ปีที่แล้ว

    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.

  • @applebeestacos4840
    @applebeestacos4840 3 ปีที่แล้ว +1

    Is love2d only for small projects, can it do medium size projects?

    • @Challacade
      @Challacade  3 ปีที่แล้ว +4

      As long as the game is 2D, it can handle larger projects, absolutely.

  • @Zuperlion74
    @Zuperlion74 2 ปีที่แล้ว

    I löve this tutorial!

  • @eboatwright_
    @eboatwright_ 3 ปีที่แล้ว +2

    could you make a more advanced tutorial? :D

  • @redcater3918
    @redcater3918 2 ปีที่แล้ว

    It won't open the file in Love2D when I click run or when I drag the file over love.exe. Any solutions?

  • @Jdeadevil
    @Jdeadevil 3 ปีที่แล้ว

    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.

  • @iluvshai
    @iluvshai 10 วันที่ผ่านมา

    tysm

  • @Dreaming-Void
    @Dreaming-Void 5 หลายเดือนก่อน

    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,)

  • @omegafala720
    @omegafala720 2 ปีที่แล้ว +2

    Error when i try to open

  • @Golden_Hephaestus
    @Golden_Hephaestus 2 ปีที่แล้ว

    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.

    • @angrymurloc7626
      @angrymurloc7626 2 ปีที่แล้ว

      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_Hephaestus
      @Golden_Hephaestus 2 ปีที่แล้ว

      @@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!

  • @GeorginaAdjaye-Aggrey
    @GeorginaAdjaye-Aggrey ปีที่แล้ว

    my text document didn't change to a lua file. am i doing something wrong?

  • @stardustbiscuits
    @stardustbiscuits 3 ปีที่แล้ว +1

    After i made my folder, i am not able to add a text file. It is a magic text document instead. Please help me.

  • @hyominkang5822
    @hyominkang5822 2 ปีที่แล้ว

    Thank you so mucch

  • @bojiun1377
    @bojiun1377 3 ปีที่แล้ว

    Im using Macbook, I dont have ALT on my keyboard. I tried option, command, and control + L, but didnt work. Any suggestion?

    • @Challacade
      @Challacade  3 ปีที่แล้ว

      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

  • @sethjackson2010
    @sethjackson2010 8 หลายเดือนก่อน

    for some reason my rectangle turned to a square.. couldn't get it to change back.

  • @kinoin8d284
    @kinoin8d284 2 ปีที่แล้ว

    for those who cant make the up arrow symbol, here it is: ^

  • @eboatwright_
    @eboatwright_ 3 ปีที่แล้ว

    how do you structure your games? do you use an ECS?

    • @Challacade
      @Challacade  3 ปีที่แล้ว

      I have an open-source LOVE game on github you can check out, it's pretty representative of how I structure my games.
      github.com/kyleschaub/cavern

    • @eboatwright_
      @eboatwright_ 3 ปีที่แล้ว

      @@Challacade Ok thanks! :D