News for hackers. Stuff that matters.
Re:LÖVE: a framework to make 2D games in Lua by OmarShehata on Wednesday September 13, 2023 @06:45AM (#37494957)
I made one of the first big commercially successful games with with LÖVE (Move or Die - https://moveordiegame.com/). Highly enjoyed it.

We had a devblog, doesn't exist anymore unfortunately. The thing I enjoyed the most was the flexibility of Lua, and the whole framework seemed to adopt that mindset. It gave you all the core pieces you need it (audio, input, physics, rendering), and then got out of your way.

The drawback to the full flexibility is having to spend time thinking about what design & workflow your wanted (but, really, wasn't a drawback, that's what I wanted, just took more time). We ended up designing a really flexible engine that allowed us to pivot from a 2D puzzle platformer with a story (Concerned Joe) to the action packed fast multiplayer game that Move or Die became.

Re:LÖVE: a framework to make 2D games in Lua by idonthaveanacco on Wednesday September 13, 2023 @06:52AM (#37495015)
How did you go about supporting all those platforms? How much did LÖVE help with/hinder that aspect?
Re:LÖVE: a framework to make 2D games in Lua by fileeditview on Wednesday September 13, 2023 @06:57AM (#37495060)
That's a really interesting question. I created some small games with Löve and really loved it. However I always found the whole packaging/distribution/deployment a bit of a problematic topic.

If you don't just want to distribute a .love file (e.g. you do not want your user to get the Löve runtime themselves) this was basically unsupported and you had to come up with your own solutions..

I still think if the Löve community could improve this part it would help the most.

Re:LÖVE: a framework to make 2D games in Lua by dxuh on Wednesday September 13, 2023 @07:20AM (#37495232)
There are some packaging tools that help with distribution (like https://github.com/pfirsich/makelove/ - I made this). What would you like improved?
Re:LÖVE: a framework to make 2D games in Lua by fileeditview on Wednesday September 13, 2023 @07:28AM (#37495296)
That looks very interesting. Thanks for creating and sharing. This wasn't available back when I used Löve. Maybe I should give it another shot. I will certainly try your tool!
Re:LÖVE: a framework to make 2D games in Lua by keyle on Wednesday September 13, 2023 @07:26AM (#37495286)
Nice work. How did you go about app signing on macOS? It's a big issue making something that doesn't launch like the antichrist built it.

If it's supported, or not, documentation is king!

Re:LÖVE: a framework to make 2D games in Lua by dxuh on Wednesday September 13, 2023 @08:57AM (#37496139)
There is nothing built-in for it per se. I think you just have to sign the application from a postbuild hook, I think. I remember discussing this with the person that contributed the Mac build, but I don't remember the result of the discussion exactly. I think that was it though.
Re:LÖVE: a framework to make 2D games in Lua by Takennickname on Wednesday September 13, 2023 @07:04AM (#37495116)
Someone should solve this with a Javascript app in an electron wrapper
Re:LÖVE: a framework to make 2D games in Lua by nunodonato on Wednesday September 13, 2023 @07:45AM (#37495437)
oh god, no. Please stop trying to push javascript (and your damned node packages) into everything. There are community tools to package LÖVE games for win/mac/linux.
Re:LÖVE: a framework to make 2D games in Lua by trey-jones on Wednesday September 13, 2023 @08:36AM (#37495916)
It's possible I'm taking it the wrong way, but I think their comment was meant facetiously.
Re:LÖVE: a framework to make 2D games in Lua by otikik on Wednesday September 13, 2023 @01:59PM (#37499590)
(grabs holy water, garlic, and a crucifix)
Re:LÖVE: a framework to make 2D games in Lua by exikyut on Thursday September 14, 2023 @03:19AM (#37505953)
(The JS runtime doesn't make it past the salt line while the WASM modules do, causing the the app runtime to fail to find critical exports and go into an infinite loop which persists after Chrome is closed because boot was managed by a service worker)
Re:LÖVE: a framework to make 2D games in Lua by Boxxed on Wednesday September 13, 2023 @08:19AM (#37495734)
Why don't you want to distribute the love runtime + .love file to your users?
Re:LÖVE: a framework to make 2D games in Lua by seanw444 on Wednesday September 13, 2023 @09:37AM (#37496570)
Less polished, and more steps. People want to download a game. Not a patchwork of files and runtimes. It doesn't feel "productioney".
Re:LÖVE: a framework to make 2D games in Lua by Boxxed on Wednesday September 13, 2023 @10:06AM (#37496954)
But you can distribute e.g. a zip file with both the run time and data in it, can't you? How is that any different from how any other game is distributed?
Re:LÖVE: a framework to make 2D games in Lua by ido on Wednesday September 13, 2023 @10:31AM (#37497262)
Do people even have to know? I’d anyway these days distribute via itch or steam
Re:LÖVE: a framework to make 2D games in Lua by maccard on Wednesday September 13, 2023 @11:09AM (#37497800)
You can use steam to install runtimes with install scripts [0]

[0] https://partner.steamgames.com/doc/sdk/installscripts

Re:LÖVE: a framework to make 2D games in Lua by seanw444 on Wednesday September 13, 2023 @10:24AM (#37497166)
Fair point.
Re:LÖVE: a framework to make 2D games in Lua by synergy20 on Wednesday September 13, 2023 @11:39AM (#37498213)
How to do that exactly to make the user click and run the application without a second thought?
Re:LÖVE: a framework to make 2D games in Lua by rollcat on Wednesday September 13, 2023 @08:59AM (#37496168)
I'll throw in my 3c, it was 2016 and I've been trying to create a fully static x86-64 Linux binary, to hopefully avoid all the problems with DLL hell (as Löve links to an awful lot of stuff, and judging by the .so numbers it was unlikely to work in a year or two). TL;DR I've spent more time fighting the linker than writing the actual games ;)

I didn't want to rely on whatever-version-of-löve-this-distro-has-packaged because Löve at the time would break API compat quite frivolously. You can probably use an AppImage these days but I think this goes against the intent and spirit of Löve. It should be trivial to build entirely self-contained binaries; and in case of Windows/Mac, it was indeed the case (modulo code signing).

Re:LÖVE: a framework to make 2D games in Lua by rodrigosetti on Wednesday September 13, 2023 @06:56AM (#37495052)
If you don’t mind me asking, how big was your development team?
Re:LÖVE: a framework to make 2D games in Lua by andai on Wednesday September 13, 2023 @07:44AM (#37495436)
What was the URL of the devblog? It's probably on the WayBack Machine: https://web.archive.org
Re:LÖVE: a framework to make 2D games in Lua by thrdbndndn on Wednesday September 13, 2023 @08:32AM (#37495875)
I'm more curious why would one delete such blog in the first place. I know this game is a little bit old, but they still maintain their website(s).
Re:LÖVE: a framework to make 2D games in Lua by andybak on Wednesday September 13, 2023 @08:58AM (#37496154)
Yeah. I'm of the school of though that thinks nearly all web content should be preserved at it's original url. Wayback is a godsend but it should be a last resort.
Re:LÖVE: a framework to make 2D games in Lua by andai on Wednesday September 13, 2023 @08:39PM (#37503473)
My guess would be one of the main causes of this is "can't be arsed to migrate Wordpress." I've done that and it's surprisingly straightforward (with a plugin), but I guess FTPing a folder involves less mental steps (so has a lower "activation energy".)
Re:LÖVE: a framework to make 2D games in Lua by flanbiscuit on Wednesday September 13, 2023 @10:09AM (#37496988)
Re:LÖVE: a framework to make 2D games in Lua by Nezteb on Wednesday September 13, 2023 @10:25AM (#37497181)
I also found this, though it didn't archive super well: http://web.archive.org/web/20190329105713/http://moveordiega...
Re:LÖVE: a framework to make 2D games in Lua by flanbiscuit on Wednesday September 13, 2023 @10:58AM (#37497612)
oh that definitely makes more sense
Re:LÖVE: a framework to make 2D games in Lua by raffraffraff on Wednesday September 13, 2023 @03:04PM (#37500371)
Off-topic, but your username reminded me of the episode of The Office (yes, the UK one, it's the only one that exists) where Neil (the manger from the Swindon office) brings in a home baked cake. Everybody loves it. David said "I prefer a flan"
Re:LÖVE: a framework to make 2D games in Lua by m0shen on Wednesday September 13, 2023 @09:36AM (#37496548)
Have this game. Love it! It's a great pick up and play couch game.
Re:LÖVE: a framework to make 2D games in Lua by CodeL on Wednesday September 13, 2023 @11:55AM (#37498401)
It's impressive to see the versatility of LÖVE in action. Flexibility can be both a blessing and a challenge, but it's clear you made the most of it with 'Move or Die'.