r/love2d

▲ 37 r/love2d

Day 1 remaking Super Mario Bros in LOVE2D!

I'm VisualS_RGB and I'm remaking the original Super Mario Bros for the NES in r/lua using LOVE2D!

Today is a simple update because I added a basic Mario prototype with basic physics and a floor for him to stand on.
For the next devlog, I will add more complex physics and some graphics & sounds to the game.
Check out all the progress on my YT channel @VisualS_RGB

Stay tuned for the next devlog! ;)

r/gamedev r/SuperMario

u/VisualS_dev — 6 days ago
▲ 12 r/love2d

Day 2 remaking Super Mario Bros in LOVE2D!

I'm VisualS_RGB and I'm remaking the original Super Mario Bros for the NES in r/lua using LOVE2D!

In this update, I added a variable jump for Mario and started adding the animations.
In the next update, I'll add the first Mario level to the game!
Check out all the progress on my YT channel @VisualS_RGB

See u latter! ;)

r/gamedev r/SuperMario

u/VisualS_dev — 5 days ago
▲ 22 r/love2d+1 crossposts

LOVE2D Legacyvania game project part2

  1. If didnt see previous post, this is my personal project to program and make game withou IA. All in lua/love2d engine
  2. I've started this session implementing character movement and animations, I liked it a lot movements feels good, and I really like the pixel perfect.
  3. when I started to maping, tiling is ideal to paint and make big map but the STI(simple tiled implementation) make camera and movement complicated, working with built in collider, with vector or forces that have numbers that doest speak to me, I said, I like to work with pixels. For not leting it bring me down and restart a structure, Iam making something myself..
  4. Already did collisions hit boxes, separated and structured lua files, and lets see more what I can do without adding to many libraries, if they are easy and helpfull I'll use if not, I don't wanna it dictate all the rest of the code, not in this project.
  5. probably for the back ground I'll make a big sprites and cut it in big chunks and render it for part have to make a draw order to entities to determine who is in front/behind, enemies, player and objects.. Idk yet, focus on characters heros and enemies..
u/anarcopixel — 8 days ago
▲ 9 r/love2d

Shipping a LÖVE game to Google Play: my ISP satire needs 12 testers for its closed test

Bandwidth Barons, my satirical ISP game (run a 1999 dial-up company, invent fees, read what your customers say about you), is in closed testing on Google Play. Google wants 12 testers for 14 days before it can go public. Testers play the full game free, and keep it if they stay the 14 days.

Fair warning: it might be too hard for you. Your ISP pulls it off every month. Can you?

Join the group signed in with your Play Store's Google account, then follow the link on its page: https://groups.google.com/g/bandwidth-barons-testers

Android 7+, offline, no ads. Feedback: hello@thefeaturecreep.dev

u/smhsmg — 7 days ago
▲ 3 r/love2d

Help with better randomization

I've seen some videos suggesting to use setrandomseed(OS TIME) but that doesn't seem to work

Im making a simple "click enemies that come from random sides of the screen" game, but every time I play test they always generate the same positions, I tried it with the setrandomseed in the load function but I didn't notice a change, am I supposed to reference it somewhere else? Thank you for any help or tips

reddit.com
u/Trollcker — 10 days ago
▲ 20 r/love2d+1 crossposts

It ain't much, but look ma, we made it to the front page of itch!

Went from 3-10 plays a day to over 200 a day for the past 3 days and was so confused.

Found out my game was on the front page, idk how or why, but it's there lol

It feels cool!

If you love tetris, like I do, give it play here

u/_firn_0 — 7 days ago
▲ 33 r/love2d

Vaporware EX - Official Teaser Trailer!

Hey folks. It's me again! I'm showing off the official teaser trailer for my retro game about game dev, Vaporware EX! The game is made entirely with LÖVE, and I'd love it if you checked out the Steam page and considered if it's your kind of thing as I move more into marketing the game. https://store.steampowered.com/app/4828200/Vaporware_EX/?beta=1

Also, if you have any questions about how anything works or is implemented, I'd love to chat about it. You can often find me in the LÖVE Discord either talking about the game, or talking about cats.

u/serasoft_alex — 10 days ago
▲ 48 r/love2d

I added multiplayer to my game!

I figured out how to add multiplayer to my game!

I used enet library. In the video you can see me first testing the game locally on my pc and then with my friends.

You can play the game at: https://inesh9.itch.io/apocalypse-5

What do you guys think?

u/Inesh23 — 13 days ago
▲ 12 r/love2d

My first scripting language my code is a Spaghetti !!!

Background

I’ve been studying C++ for a long time,

but after discovering love2d, I decided to start learning a scripting language.

This is my first scripting language, and I have no prior experience with JavaScript.

The repository contains a card game I’m developing.

It’s a poker game using numbers up to 7.

Problem

I’m confused because the syntax is completely different from C++, and there’s no concept of “tables” or “types.” I don’t know

how to write the code.

While concepts like C++ classes and functions make sense to me,

I’m confused because everything is a table.

I’d like to use this language to develop quickly without worrying about types, in a way that feels like Lua.

What I Want to Know

I want to know what I should keep in mind.

I often hear that

You can write code in any format.

I kept this in mind and built it like C++, but it somehow lacks that fast, free-form feel of a scripting language where tables are central.

As it stands, it feels like I’ve just ported C++ to Lua—it doesn’t feel like Lua at all.

GitHub: https://github.com/amagi-dev/card

reddit.com
u/amagi77 — 12 days ago
▲ 2 r/love2d

Need help on how to upload my game as a file in Visual studio code.

Made the minimum viable product of my tiny game and want to share it with my friends to play test but when I try to upload the workspace it seems to require visual code studio to open

How can I make it into a file my friends csn just download open and play? Thank you for any help!

reddit.com
u/Trollcker — 10 days ago
▲ 58 r/love2d

I updated my old player for old HSC AdLib tracker music in LÖVE, with a retro pixel UI

Been working on a little side project since a while: a player for HSC files, the AdLib/OPL2 tracker format from HSC-Tracker and NEO Software’s early-90s DOS games.

Some things I’m happy with:

It sounds like the original. Instead of porting another player, I disassembled the original HSC-Tracker 1.5 replay routine and rebuilt it in Lua. I checked it against the original code running in an emulator (and the real TSR in DOSBox): same register writes on every tick, for all 63 tunes from the tracker package.

Real FM chip emulation via Nuked-OPL3 through LuaJIT FFI. If the DLL isn’t there, it falls back to a pure-Lua OPL2 emulation, which turned out way closer to the real chip than I expected.

The UI is drawn 1:1 on a 640x400 canvas with an 8x8 BIOS-style font and the 16-color VGA palette, plus raster bars, a scope, a spectrum analyzer, VU meters and a sine scroller, because of course.

File browser: you can open any folder on disk, or just drag a folder or .hsc file onto the window.

It comes with a small original demo tune, since the classic HSC tunes can’t be redistributed.

Code’s here if you want to poke around: https://github.com/SiENcE/love2d-hsc-player

If anyone still has old HSC files lying around, try it!

u/Heinz2001 — 13 days ago
▲ 3 r/love2d

Dynamically sorting the map ( Top Down )

I am currently working on a pixel art top down game. But I encountered a huge issue with the y sort or the z index, I want stuff in the front cover stuff in the back.

I use STI ( simple-tiled-implementation ) to load and render the map.

Is there a way to sort the tiles based on the y position of the player and other entities?

reddit.com
u/Competitive_Level526 — 10 days ago
▲ 14 r/love2d

Tutorial on how I implemented a Wishlist button for my Steam game, with the luasteam library

Hello,

I shared this tutorial on how I implemented a Wishlist button for my Steam game on the LÖVE forum (link), but I thought that I could share it on Reddit as well. I think that such a button can increase the overall wishlists for your game. This link has a helpful discussion on this topic.

The code I am about to post is based off of a helpful post from Reddit.

I am using the wonderful luasteam library.

Also, if you would like to see how I implemented luasteam in my LÖVE games, I have created a tutorial for this here. If you are following the linked tutorial, as I mentioned in the forum post, please take note that I have switched to a newer version of the luasteam library, so capitalization for the functions has changed. For example, instead of calling Steam.init() you would need to call Steam.Init().

The first step is to require the luasteam library and to create a global variable, in our main.lua, before love.load(),

Steam = require 'luasteam'
initializedSteam = false

And then, inside the love.load() function,

initializedSteam = Steam.Init()

And now for the actual button. Creating buttons and implementing the logic behind them is out of the scope of this tutorial, as most likely everybody has their own ways of implementing them. So, like you would have a button for starting your game, for entering Options, etc., you will need to implement a similar logic for this Wishlist button. Let us assume that you have a button object, and you might have something like this when you select the button,

if self.text == "WISHLIST" then
   local url = "https://store.steampowered.com/app/3840860/Combo_Vectors/" 
-- !!! REMEMBER TO REPLACE THIS URL WITH YOUR GAME PAGE HERE, THIS IS JUST FOR DEMONSTRATION PURPOSES !!!
   if initializedSteam then
      Steam.Friends.ActivateGameOverlayToWebPage(url, 0)
    else
      love.system.openURL(url)
   end
end  

Please also check out the official documentation for this function on the Steamworks website as well.

For UX/UI purposes, I decided to add some text that describes what will happen if someone clicks this button. For example, when hovering over the Wishlist button, I used the following texts,

Wishlist button example

If you would like to check out the game from the screenshot, here is a link to the game, Combo Vectors.

If you have any questions or feedback, please let me know! Thanks.

reddit.com
u/cip_games — 13 days ago
▲ 1 r/love2d

Need a few play testers for Steam Game Release (Mac OS)

I am working on a solar system simulation game called "Stellar Ignition". I have uploaded the first testing version onto Steam. However, it's only available for Mac OS right now. I am looking to get several testers with an outside perspective to provide me feedback on the game. Please message me if you'd be interested in helping out an indie dev using Love2D! The entire game was made in Love2D!

reddit.com
u/breskinator — 10 days ago
▲ 23 r/love2d

After "Get Outta My Gut" i started a new Project in Love - Build Bigger Heroes. What do you think so far?

Basically its an Auto battler where you fuse different Charakters together and create new variations and combined effects. You also can equip weapons to the charakters. There are several events and path that the Player can choose like Cigar Wizard Fusion, Witch, Stranger, etc.

The Main Law is that the King sends out his troops to find a quest item!

Its still in production, but i will soon release a demo!

Here is Steam the Page: https://store.steampowered.com/app/5250310/Build_Bigger_Heroes

u/Life-Heron-6533 — 14 days ago