TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Building Game Prototypes with LÖVE

206 pointsby healeycodes5 months ago

14 comments

modernerd5 months ago
Balatro was made with LÖVE, and a lot of it like the background and score flames were made with GLSL to reduce the amount and size of assets:<p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;PixelArt&#x2F;comments&#x2F;143ybxa&#x2F;pixelated_high_score_shader&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;PixelArt&#x2F;comments&#x2F;143ybxa&#x2F;pixelated...</a><p>The OP mentions hot reloading and there are a couple of repos that may help with that:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;clofresh&#x2F;love-module">https:&#x2F;&#x2F;github.com&#x2F;clofresh&#x2F;love-module</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;usysrc&#x2F;LICK">https:&#x2F;&#x2F;github.com&#x2F;usysrc&#x2F;LICK</a><p>Their card game prototype is really impressive for three hours&#x27; work!
评论 #42562801 未加载
评论 #42562797 未加载
trevorhinesley5 months ago
To the OP, try DragonRuby for your next game if you miss hot reloading but like the scripting, code-first nature of LÖVE. It’s also cross-platform. Not sponsored, just a big fan and it scratches many of the same itches as you described with LÖVE.
评论 #42563532 未加载
评论 #42562716 未加载
评论 #42564009 未加载
pull_my_finger5 months ago
I&#x27;m a big fan of Love and Lua, but one thing that always bothered me was that there&#x27;s no real &quot;great&quot; solutions for a) cross platform&#x2F;web&#x2F;mobile distribution. I know there are 3rd party solutions but for as mature as the framework is, you&#x27;d think it could get a first party solution. The same goes for several API&#x27;s that you&#x27;d think are core to game making, like sprite animations. There are fairly mature libraries, but I always hate having a bunch of patchwork libraries that should be included batteries instead of 3rd party boilerplate.
评论 #42566789 未加载
评论 #42566046 未加载
评论 #42565064 未加载
fn-mote5 months ago
The article gives a sketch of three games the author built.<p>It sounds like the velocity was provided by consulting LLMs.<p>It’s fun.<p>I wonder if the creative feeling is an illusion, though. Does the fact that the LLM doesn’t feel like it is directly copying work it has ingested make the experience feel different than just ripping off a project you find on GitHub?<p>Anyway, I would be very interested in a write up that gives more details: how long did the author feel like they were “on the path” that LLM knows from existing code, vs how does it handle being “off the path”.
评论 #42562843 未加载
评论 #42566875 未加载
评论 #42564585 未加载
mattfrommars5 months ago
I&#x27;m always amazed how people like author &quot;learn&quot; and &quot;build&#x27; so quickly. I recently started to dabble with unity on basics and no way on earth I can build, say something like Heartstone clone or the interaction. My background is web back end mostly.<p>Good stuff OP.
评论 #42571211 未加载
评论 #42564378 未加载
评论 #42564240 未加载
freetonik5 months ago
Coincidentally, I’ve been building a chess-inspired game prototype with LÖVE for a few days recently, but switched to Godot this week. Love and lua are lovely, but Godot makes so many things trivial, it’s hard to argue against the pace of development I was able to achieve.
评论 #42562949 未加载
DylanDmitri5 months ago
I gave this LOVE framework a try a couple years ago, but was dissuaded by the amount of spritework needed for my game. But looking at your prototype games here, they look pretty good and playable as is.
furyofantares5 months ago
I love LÖVE for prototyping, and am about to ship an extremely small game with it. Love.js works great to make a web build too; I host mine on the GitHub pages site for the repo. This is excellent for getting playtest help too even if you don&#x27;t wanna ship it that way.<p>Over Thanksgiving break I decided to see how far I could get an LLM to do all the work (using cursor) and I picked LÖVE as a minimalist all-code framework. I put the game design and descriptions of UI and every screen in my .cursorrules file, so they are included in every prompt, and for a long while mostly told cursor in composer mode to do whatever the next thing it suggested was. I chose the smallest possible full game design I could and managed to just barely get there, although there were some brick walls where I had to help the LLM, but I got fairly far without writing or reading any code.<p>Reviewing what went wrong, the biggest problem is the LLM code started pretty good but just got worse and worse over time, especially as soon as it couldn&#x27;t fit everything in its context.<p>ANYWAY, I was intending to suggest choosing the smallest possible game design you can if you wanna ship something.<p>I&#x27;m ready to ship my tiny project and it&#x27;s amazing just how much work it is to ship a thing even after you&#x27;ve got all the functionality done.
domlebo705 months ago
What do people think of Phaser? Currently playing around with it. API seems pretty large
评论 #42563513 未加载
评论 #42563396 未加载
评论 #42563206 未加载
评论 #42563179 未加载
评论 #42563496 未加载
raincole5 months ago
(Off topic) Which open-source engine&#x2F;framework is best in terms of cross-platform? It seems that LÖVE is desktop-only.<p>Edit: by cross-platform I mean desktop + console + mobile.
评论 #42563965 未加载
评论 #42563601 未加载
评论 #42563916 未加载
评论 #42566807 未加载
RobKohr5 months ago
If you are looking to do VR&#x2F;3d games, LÖVR (<a href="https:&#x2F;&#x2F;lovr.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lovr.org&#x2F;</a>) is derived from LÖVE.
lisp22405 months ago
Are there any 3d frameworks worth learning?
cannibalXxx5 months ago
what an interesting article! outside of programming in my day I&#x27;ve written a few articles about guides on my blog <a href="https:&#x2F;&#x2F;playstationcouch.com&#x2F;home.php" rel="nofollow">https:&#x2F;&#x2F;playstationcouch.com&#x2F;home.php</a>
delduca5 months ago
I have been using my engine <a href="https:&#x2F;&#x2F;github.com&#x2F;willtobyte&#x2F;carimbo">https:&#x2F;&#x2F;github.com&#x2F;willtobyte&#x2F;carimbo</a><p>Demo <a href="https:&#x2F;&#x2F;carimbo.run&#x2F;play&#x2F;1.0.30&#x2F;willtobyte&#x2F;megarick&#x2F;1.0.30&#x2F;720p&#x2F;" rel="nofollow">https:&#x2F;&#x2F;carimbo.run&#x2F;play&#x2F;1.0.30&#x2F;willtobyte&#x2F;megarick&#x2F;1.0.30&#x2F;7...</a><p>You can use Lua as scripting language.
评论 #42564579 未加载