LÖVE: 2D Game Framework for Lua

(github.com)

68 points | by cl3misch 1 day ago

10 comments

  • patapong 1 hour ago
    One of the biggest recent indie hits, Balatro, was made in Löve!

    I really like it, the developer experience is so smooth for beginners, just drag a zip onto the exe and it starts. And the APIs are simple enough to memorize while allowing pretty cool rendering stuff.

    • KeplerBoy 1 hour ago
      Balatro ships with the entire unobfuscated Lua source by the way.

      I once checked if the odds stated on a card were implemented wrong. Turns out no, the code checks out, I'm just that unlucky.

      • __s 1 hour ago
        too bad universe doesn't ship with unobfuscated source so that you could see whether you're unlucky, or just skill issue
        • Tepix 51 minutes ago
          The source is right there, you just have to grok it.
      • brooke2k 58 minutes ago
        hahaha, I did the exact same thing after the game came out to see if wheel of fortune was really a 1/4 chance
        • mh- 23 minutes ago
          lol, love seeing that I'm not the only one who did this. Being suspicious of WoF was the first and last time I peeked at the Balatro source.
  • wwarren 1 hour ago
    I love LÖVE. For me it sits at the perfect intersection between high and low level abstraction. Unfortunately the latest released version is getting pretty long in the tooth now and a lot of devs use the latest HEAD from the repo since it has better performance and compatibility. One day the mythical 12.0 will get released for real…..
  • yehoshuapw 1 hour ago
    my favorite game in love: mario, with portals

    https://stabyourself.net/mari0/

    • seqizz 1 hour ago
      I looove stabyourself. ortho robot was amazing. you know what, let me install again.. here goes my night.
  • PacificSpecific 36 minutes ago
    I generally very much dislike dynamic languages but for some reason I've always really liked Lua. I'm not exactly sure why to be honest.

    Maybe because you can fit the whole language spec on a single sheet of paper and adding more advanced features is pretty easy.

    Love looks really cool. I never got into it personally but I still might

  • K0IN 35 minutes ago
    I love löve I did some projects in it, lua was one of my fist programming language, i think it's a great fit for game dev.

    Also move or die is running on love2d, which is an awesome game.

    Also I love that trick that you can just zip your files and binary Comcast them to the love2d binary and it will load it.

  • herczegzsolt 1 hour ago
    I've used this for many projects that are still working to this day.

    That said, i'm not impressed. A web-based solution is usually better performing, despite all the bloatware necessary. This says a lot about the state of software development unfortunately.

    • small_scombrus 1 hour ago
      It isn't web based? It's a set of Lua scripts that run locally
      • squeaky-clean 57 minutes ago
        They are saying web based solutions often out perform LÖVE, even though you would expect the opposite because LÖVE doesn't have the bloat of a browser engine.
        • usrnm 44 minutes ago
          Browser engines are probably some of the most optimized pieces of software in existence, so it doesn't surprise me at all.
  • p2detar 1 hour ago
    As someone that used to write 2D games with things like phaserjs, sdl and even directx7, I always regret I never tried Löve2d. I think Android and iOS packaging was also supported. Is this still the case? What if one wants to integrate IAP?
  • raincole 1 hour ago
    Btw, Love2D is based on SDL2. If you hate Lua but needs the same cross-platform capabilities, you can use an SDL2 binding in other languages or make your own.
    • newobj 38 minutes ago
      SDL3
      • raincole 9 minutes ago
        As far as I know only the latest (unstable) version uses SDL3.
      • jasonjmcghee 23 minutes ago
        Definitely SDL2.

        Author is currently building version 12 which will be using SDL3. But it's been in development for quite some time with no clear end date afaik.

  • 0xCAP 1 hour ago
    My2c. Fintech tech lead who has only a far memory of hand coding games ages ago. Community makes tech awesome. Love2D discord changed my life. Never met a more awesome and welcoming community in my whole life.
  • davidkunz 27 minutes ago
    I haven't tried Löve, but I somehow enjoyed reading through the README.md, no AI slop, just a natural writing style with tiny indictors showing the authors' enthusiasm in creating software.