r/love2d • u/HiIExists • 2h ago
Love2d extension
What should be added in the next update of love2d?
r/love2d • u/HiIExists • 2h ago
What should be added in the next update of love2d?
r/love2d • u/Commercial-Beach-325 • 16h ago
I’ve been making a small game and it’s finally ready for people to try. It’s called Inflate
You play as a little bouncing ball. Spikes let your air out, pumps fill you back up, and you can change your size to get through tight spots or break blocks.
Right now there are 15 levels, and I’m adding more soon, so keep checking back!
Play here:
https://apurv-henkare.github.io/Inflate/
You can play it straight in your browser. If you want it on your phone like an app:
• Android: open the link in Chrome and tap “Install App”
• iPhone: open it in Safari, tap the Share button, then “Add to Home Screen”
When new levels come out, they’ll show up in the game on their own. You don’t need to download anything again.
It’s still a demo, so if something feels too hard, weird or broken, please tell me. And tell me which level you liked most 😄
Used Love2d and love.js for web porting
r/love2d • u/yughiro_destroyer • 1d ago
Hello!
I'm writing a multiplayer game right now using enet. I have no library on top of it, I'm using basic, raw messages and I'm using the data pack functions all with a byte prefix to identify the type of message that's being sent/received.
So far, I can see some problems that might occur if I were to deploy the server on cloud VPS...
Here are some of them :
->Hackers polluting the server with tons of requests that are going to lag it or even increase my server costs because of the consumed resources.
->Hackers opening the client code and trying to bug or crash the server by sending wrong message identifiers.
About the first problem, I am expecting the VPS provider to block some suspicious activities (like mass attempts of connection) whilst I will enforce a limit of requests per second, else the server will kick the client for suspicious activity.
The second problem can be fixed by writing additional server code that makes sure wrong identifiers go through an exceptions check and that players don't skip any steps they shouldn't (else, instantly kicked).
Cheating wouldn't be a problem as the server will be fully authoritative, so the clients are ever sending are inputs and nothing more. Also the server will not give more information than necessary for the player to know in that moment.
Still, I expect to miss some edge cases.
Any suggestions?
r/love2d • u/serasoft_alex • 1d ago
Hihihihihihi!!!
Is me again. Am I spamming a little? Mods, feel free to strike me down if you see fit. I'm getting really good reception to these posts, so I wanted to get this one out as soon as possible. This one's about how I made lil minions who play my game for me, using Lua, and how that enabled me to not only be able to more effectively QA my game, but also add stuff like the Attract Mode in my game, where if you leave the game idle in the main menu for a while, the game starts playing itself, to give you a preview.
Hope it's useful <3
r/love2d • u/CraftPixel_Dev • 2d ago
Sharing a free UI kit that fits 2D LOVE projects well: the frames are plain SVG + transparent PNG, so you load the PNGs with love.graphics.newImage like any other sprite and stretch them at any window size. The SVG source keeps the 9-slice groups separate if you want to re-export at a different scale, and nothing depends on a font being installed.
Free (commercial use, no attribution): https://craftpixel.itch.io/free-cyberpunk-sci-fi-ui-starter-kit-vector-svg
Full 10-pack set is 80% off for Black Friday / Cyber Monday if you want the whole thing: https://itch.io/s/221135/ultimate-cyberpunk-and-sci-fi-ui-mega-bundle-10-in-1
This is a starter template/boilerplate that I made for all of your LOVE2d UI and HUD needs (screenshots in the repo). This repo solves the biggest time-wasters developers hit at the start of every new LOVE2d project:
- creating the UI, HUD, Main Menu, and Loading Screens from a fresh, easy to edit template, in-engine (runtime)
- Saves you from having to code input remapping, speeds up prototyping, gives you a pre-built structure for layering on-screen HUD elements over gameplay without cluttering main.lua
- Handles game-state wiring out of the box, and fully eliminates many repetitive actions that devs waste hours working by giving you all the tools and widgets you need to create, export, and integrate UI/HUD/etc. elements into your LOVE2d project
- Works with any LOVE2d project and does not require any external libraries
Know that it is a work in progress and will continue to receive updates for the foreseeable future. I also have other LOVE2d helper repos on my github, and more tools I have made to be polished up and posted soon for the community to use in their own LOVE2d projects. Thanks for checking it out!
Shout out to u/serasoft_alex for inspiration in polishing and posting the tool. I took a lot of inspiration from his recent game demo, Vaporwave EX Demo. Very inspiring work from him, thanks, Alex.
r/love2d • u/serasoft_alex • 2d ago
Hellooooo again my fellow friends in LÖVE!!
I've written up another writeup for you all, this one about how I worked to ensure the best performance of my game with LuaJIT. It's a tale of LÖVE, loss (in framerate), and why C functions aren't actually always faster than Lua, and in some cases can actually screw you over.
Enjoy!
And PS: you probably saw in the other post I made today, but Vaporware EX's demo came out on Steam today, so go check that out too!
r/love2d • u/serasoft_alex • 2d ago
Heya folks!
This is the game I've been pouring my blood, sweat and LÖVE into for the last year and a half, and now the demo is up on Steam, as well as on web. I'd love it if you checked it out!
Alex
Fresh Link, the above link is broken: https://github.com/666mayn/LOVE2d-g3d-map-editor
You can easily integrate this simple g3d map editor into your game project to make creating maps a breeze, as long as it has g3d repo library, and the editor doesn't interfere with, or require other libraries. I just thought I'd share for any solo devs making a g3d love2d game
r/love2d • u/Beautiful-Prune9589 • 3d ago
Hi! I just released SikCid Shootin', a twin-stick arena shooter for 1–2 local players.
▶ Play in the browser: https://refeals.itch.io/sikcid-shootin
Endless waves come in through four doors, with a boss every 10 waves. Your ship auto-fires at the nearest enemy, so it's all about dodging and grabbing power-ups (9 of them: homing missiles, shield bubble, drone, nova...).
Some things about how it's built that might interest people here:
- Plain LÖVE 11.x, no external libraries
- The same .love runs on PC, on Batocera (retro gaming distro, so it plays on a couch with gamepads) and in the browser with love.js 11.4
- Logic runs at 640x360 and draws to a canvas at the largest integer scale that fits, so the Kenney sprites stay sharp at 720p/1080p
- Touch controls for mobile: floating sticks on each half of the screen
- The store art (cover, logo, background) is rendered by the game itself from its real sprites and shaders, with a --media flag
- An autoplay bot (--smoke) plays the game for N seconds, checks for errors and reports FPS. It's how I test 2-player mode alone, and how I took the screenshots
Feedback is very welcome, especially on difficulty and on how the web build runs on your browser. Happy to answer questions about the love.js build!


r/love2d • u/serasoft_alex • 4d ago
Hey folks, me again!
I'm so appreciative of the positive response on my last post, and I'm really glad it was helpful for folks. I'm gonna be doing a series of these posts, talking about technical stuff I figured out whilst working on my game, Vaporware EX. This post is about how I managed to write a version of love.graphics.print/love.graphics.printf that is just as easy to use, but has the speed advantages of using Text/TextBatches.
Hope it's useful!
r/love2d • u/serasoft_alex • 6d ago
Hey folks!
I wrote a lil writeup blog post thingy majig about how I made the UI system in my game. I added code snippets, and a full zip of the example code in the post. I hope it's useful to you!
r/love2d • u/spy_antifem • 6d ago


Hi all, I've been building ChessCast, a LÖVE game that plays full chess rules with a deck of spell cards on top: Freeze a rook, rewind a turn, teleport a knight, and so on.
- 24 spells across four schools (Arcane, Protection, Blood, Time)
- Mana pool and a hand of cards to manage
- CPU on Easy, Medium or Hard
- Online play with one-click matchmaking or 6-letter room codes, plus a rematch button
- Runs in the browser, on Windows, Linux and Android, and all of them can play each other
It's free: https://funeralpixels.itch.io/chesscast
What I'd most like feedback on: are the spells balanced, and is the mana/hand system clear to new players? Happy to answer questions about the LÖVE and Cloudflare relay setup.
r/love2d • u/KickTurbulent4937 • 6d ago
Hi guys, while back i posted void core here my first love2d game and i started a new one to build with love again, its called okey dokey, a tile rummy roguelite (think Rummikub meets Balatro), built with love again.
Steam Page: https://store.steampowered.com/app/5597120/Okey_Dokey
Happy to answer questions or comments related with development side or the game itself overall if you have any
r/love2d • u/_apehuman • 7d ago
I made the models in blockbench .The 3d models are rendered onto a separate canvas with g3d and later drawn on top of existing stuff. The stuttering is from the screen recording
r/love2d • u/Alarmed-Economics109 • 8d ago
It's time that the Sega Dreamcast got a more fleshed-out implementation of LÖVE, so I'm developing my own derivative framework called Love-DC!
First off, a huge thanks to bertholet for developing the original Antiruins Engine. It's been an amazing source of inspiration, though Love-DC is taking a different direction.
What's in Love-DC for now:
Its still far from release but I'm gonna keep working on it.
r/love2d • u/NaCl_Dreemurr • 8d ago
Idk why this happens bc I got one game to work, Floralrune, but all other .love games end up like this(the screenshot is me trying to play Frostveil) if I start them on the menu screen. I only have an iPad and phone so I don’t have any other way to play these games besides using this app I think, so I hope there’s a way to make it work that isn’t buying an android or computer(I use a Bluetooth keyboard to play the games that work). Is anybody else having issues with this app, and are there any others I could use?
r/love2d • u/VisualS_dev • 8d ago
I'm VisualS_RGB and I'm remaking the original Super Mario Bros for the NES in LOVE2D, a Lua game framework :3
Finally, we've reached the end of the first week! In this update, I finished adding the full Mario movement physics to the game.
In the next devlog, I'll add the main menu and the Game Over screen!
Check out all the progress on my YT channel @VisualS_RGB
See u later!
r/love2d • u/theCatchiest20Too • 9d ago
Based off of a previous post in this community. All of the players are terrible AI and after each match, you can improve stats and swap for new players.
r/love2d • u/anarcopixel • 9d ago
I was on trouble how to extend a class in LuaJIT, so I learned how to use setmetable and __index.
Still dificult to understand how I can overwrite some functions like draw calls(I was getting stackoverflow) But I guess I fixed it. The idea is to extend player class to a puppet/dummy that will receive especific orders to move attack etc..
r/love2d • u/WoogLord • 9d ago
Hello! I am a dev with a gamejam game I did with some friends coming out on Steam next month, BUT I have another gamejam game that I am struggling to port to web!
I am using Love.js because I thought it would be rather easy, but the issue is I can't seem to save .txt or .csv file when on web?
I only have python, lua, and sql knowledge, so JS and website stuff is a mystery to me... what would be the easiest way to have it where a player can just... play the game, close out the window, and then come back and the game read and remember what their score was?
The websites I'm trying to post to are Newgrounds and itch.io! Newgrounds is higher priority for me at the moment.
Any help is appreciated! Thank you so much!
Woog