r/love2d

I built a new fast and portable texture atlas builder with a LibGDX exporter
▲ 94 r/love2d+8 crossposts

I built a new fast and portable texture atlas builder with a LibGDX exporter

Hey everyone, I was building this tool for my internal use, and thought I would spin it off as a full tool and sell it in case it was useful for anyone else. I wanted something extremely fast and with good CLI integration, and something very portable as well. So that's what I built, in Zig with a Dear ImGui interface.

I am mostly focusing on code-first environments right now, like LibGDX. This is the exporter I use for my own projects in Haxe/Heaps.io, as it uses the LibGDX format.

https://clydegames.itch.io/packrat

Anyway, thanks for checking it out. Let me know what you think.

u/CLYDEgames — 1 day ago
▲ 3 r/love2d

[Android] Looking for closed testers — RummyJoker (Rummy card game) Body:

Hi everyone, solo indie dev here. I've built RummyJoker, a Rummy card game made with Love2D, and it's currently in closed testing on Google Play. I need a few more testers to meet Google's minimum requirement before I can move to production.

How to join (2 steps, takes ~5 min)

Join the group: https://groups.google.com/g/rummyjoker-testers

Opt in as a tester: https://play.google.com/apps/testing/com.asobi.rummyjoker

Just tap "Become a tester" and open the app once from the Play Store — no need to actually play, and you're welcome to uninstall right after.

Happy to test your app in return if you're doing the same — just drop your link below!

Thanks so much for your help 🙏

reddit.com
u/Plenty_Concept_5844 — 1 day ago
▲ 0 r/love2d+1 crossposts

How to Obfuscate and Protect Source Code of My Love2D game?

I don't want people to steal the code and republish my game because I put a lot of work into it and I want to protect my own hardwork/intellectual property.

I can't find any good lua obfuscators online, does anyone know any good methods to obfuscate source code. I want to be able to remove comments, have random variable names and remove whitespaces

reddit.com
u/Inesh23 — 3 days ago
▲ 22 r/love2d

Update on my cat game!

I made this post 2 weeks ago https://www.reddit.com/r/love2d/comments/1vfqj2p/started_learning_lua_with_love2d_6_days_ago_and_i/ . 2 weeks later, now I have this.

I added animated sprites, screenshake when hit, blink red when hit, when on half a heart blink continuously, smooth scrolling score counter, a few new enemies, a functional pause button, changed all the backgrounds, variations in pitch when u pick up vegetables, and fixed my messed up hitboxes.

I'm still having fun adding new stuff and learning how to write in lua, but those hitboxes really hurt my spirit for awhile lol.

things i want to add:

-Difficulty to determine what enemies can spawn. Instead of having a linear speed up with a speed multiplier, I want more of a set speed up on the upper difficulties.

-I need to add 5 more enemy types (coming form different directions) and a boss at the end so it feels more complete, and then maybe an endless mode.

-Death animation

-menus and ui that dont look like poop

-a cloud border around the inside frame of the game enemies bust through, and its all springy and fun

-power-ups that feel helpful.

- something that makes the game look better (shaders?).

I really want to fully complete this before I move on to a different project, but I'm always tempted to try something else.

Thanks for reading, these little posts give me a feeling of progress.

u/Top_Pick_4682 — 2 days ago
▲ 22 r/love2d

I'm making my own spacesim on love2d

At the moment, I have implemented the generation of an infinite universe with seamless loading and landing on planets. He implemented an economic system based on the needs of the sector, a system of factions, trade, quests, and rumors. In addition, you can establish your own colony and develop it, you can modify your ship, capture space stations.

And here's the main question: what would you like to see in such a game?

u/alis_white — 5 days ago
▲ 67 r/love2d+1 crossposts

Teaser of my game

I'm making a game where the goal is simple type words or letters that appear on screen as fast as possible, all while facing off against 10 opponents each with different specialties, which makes things tougher, hoping you'll like the concept!

u/LexDespercelo — 6 days ago
▲ 5 r/love2d

I am struggling with scaling

So I want to make a game for android and I am confused about scaling, aspect ratio and all that stuff...

Any ideas?

reddit.com
u/More-Scheme-8454 — 6 days ago
▲ 12 r/love2d+3 crossposts

Mobile souls-like prototype

Hi everyone, recently ive been playing Monster Hunter Now, and the controls and mechanics of this game is really interesting, very intuitive. I worked on a souls-like prototype in Love2d with this system, with sprites from the game Heretic (for now). What do you think ? Would you play it ?

youtu.be
u/Beginning-Baby-1103 — 7 days ago
▲ 22 r/love2d+1 crossposts

Settled on my Tiles Thanks to you all and Some Folks on my Discord

Just wanted to show off where I landed and thank the few folks who responded and helped me choose a style for my tiles.

I appreciate you all and please feel free to check out the updated version here

u/_firn_ — 7 days ago
▲ 12 r/love2d+3 crossposts

Local multiplayer! Coming soon to the full release

Local multiplayer is finally (mostly) working! just working out some bugs. I'm very happy with it so far!

Steam page coming soon

Check out the current version on itch here

u/_firn_ — 6 days ago
▲ 49 r/love2d

Where we started vs where we're at

Project started on June 19th, so just under 2 months in! I plan on adding couch multiplayer for 2 players and some more QoL additions and being done.

I want this game to be just pure arcade fun, no trend chasing with roguelike/roguelite mechanics or anything like that. I fall into that trap too often!

Check out the game here

u/_firn_ — 8 days ago
▲ 0 r/love2d

Installation is not working

I'm trying to install Love2d in CachyOS (Arch based linux distro), but the appimage does not work (doesn't show or install anything). How do I install it?

reddit.com
u/Salt-Discount-1381 — 7 days ago
▲ 174 r/love2d+1 crossposts

my game has no audio files at all - the music is synthesized live on a fake SNES sound chip that the sound effects have to share

first time posting anything i've made, so sorry if this is the wrong format for here. sound on though, the video's kind of pointless muted.

https://www.youtube.com/watch?v=VlU3gKWoeV4

it's an ARPG thing in LÖVE. the reason there's no music file is honestly i'm just terrible at arranging music so I figured I could make some procedural stuff and i wrote the synth and then it sort of took over the project.

so there's a software SPC700 in there now. 32kHz, 4-tap gaussian resampling, one global echo capped at 240ms. and 8 voices - not 8 for the music, 8 for everything, the same as the actual chip. the music and the sound effects are fighting over the same eight slots.

which i didn't plan for and now really like? every SNES sound driver had this exact problem and they all solved it the same way, effects steal voices from the music in a priority list. mine takes the score's FX voice first and its kick and bass absolutely last. so if a fight gets busy you can hear the melody thin out while the drums keep going. i left it in. a big fight costs you the tune, which felt more interesting and really made it hit my nostalgia.

the tracks are just lua tables - patterns, chords, kit, tempo range - rendered sample by sample into a queueable source. costs about 0.6% of a core. because it's being generated rather than played back it can react to what's happening:

- there's one "tension" number that comes off your health, and it moves the tempo, brings an alarm voice up, and swaps the bass sample through five progressively deeper tables. that last one is how you'd actually deepen a bass on a SNES, there's no per-voice filter on the chip and there isn't one here either.
- a couple of the tracks are dubstep-ish and need a filter sweeping inside a held note, which the hardware also can't do. but a tracker can rewrite a voice's sample pointer mid-note, so the wobble is eight tables baked through a resonant lowpass at eight different cutoffs and an LFO just swaps between them without touching the playback position. only works because every table is the same length and phase aligned. there's an assert for that because when it isn't, it clicks on every single swap and it took me a while to work out why.
- all ten tracks got calibrated to the same loudness with proper K-weighting, because RMS kept telling me the sub-heavy one was the loudest and my ears very much disagreed.

sound effects are 99 sounds built out of a shared 25-table kit, all generated the same way. the thing that took longest there was that they peaked as loud as the music but sat about 15-20dB under it in RMS, so a screen full of explosions was raising the actual energy of the mix by like 2%. peaks like a gunshot, but weirdly weak. turned out to be three things stacking, normalisation crushing the transient into the body, an envelope going on top of a decay, and impacts getting pitched up on samples that were already too short. a fight lifts the mix 44% now.

and because the music is all code i ended up being able to just hand it to the player. there's a little audio studio in the game where you can pick a track, mess with the tempo, drag ten EQ bands around, stack a second track on top of the first sharing the same step clock, and record the whole thing out to a .wav. mostly i built it to make trailer music for myself and then figured i may as well leave it in. A ton of features started this way on this project.

there's also 300-odd weapon combinations but that's a whole other thing and this is already long.

anyway it's not on steam, there's no page, i just don't really have anyone local to share with that finds it cool, so I figured I'd do that thing they always tell you to do and look to teh community. Happy to answer any questions

u/RevoIncubus — 11 days ago
▲ 12 r/love2d

Shipping love games on steam

Hey anyone have any tips / guides to getting a love2d game ready to release on steam and interacting with the steam api stuff? Thanks any direction is helpful this is out of my depth

reddit.com
u/If_Dev — 8 days ago
▲ 54 r/love2d+7 crossposts

My PyZombie Project

Can you give me your opinion about my pygame game? still update it

u/_DedSec_0x90 — 10 days ago