Page 1 of 1

My First Love2D Platformer Demo

Posted: Tue Sep 13, 2022 3:48 pm
by Sammm
Hello!

I just started with Love2D a few days ago, and with some help from some youtube videos and the great people on this forum, I completed a little platformer game demo, made with STI and the love.physics library. If you have any comments on what I should tweak/what I should do differently, please let me know! :D

Here is the zip file where you can run/see the code:
TiledGame.zip
(62.84 KiB) Downloaded 134 times
Screenshot 2022-09-13 11.17.44 AM.png
Screenshot 2022-09-13 11.17.44 AM.png (241.98 KiB) Viewed 2308 times
So far, I've really enjoyed using Love2D, and I hope to use it in some future projects and stick with it!

Re: My First Love2D Platformer Demo

Posted: Tue Sep 13, 2022 5:49 pm
by milon
Cool! Here's some quick thoughts:

1. The friction feels too low, low I'm walking on ice or something
2. You can fall off the right side of the screen (haven't tried other sides)
3. The display I'm on has a max resolution of 1280x1024, so your game doesn't really fit on my screen. Consider making window resizable or scalable or something.
4. Instead of putting your game folder inside a .zip file, zip the contents of the folder and rename it to .love ;)

Re: My First Love2D Platformer Demo

Posted: Tue Sep 13, 2022 7:34 pm
by Sammm
Milon, thanks for the feedback!

1. I tried to fix the friction by using "setFriction()" or "setLiniarDamping()" but nothing worked, so it's just the default friction. If you have an idea on how to fix it, I'd really appreciate it!
2. That's where the tilemap ends; though I should probably make a border.
3. I'll try adding a resize feature.
4. Ohh, so you have to zip the contents of the folder for it to work, thanks! :)

Re: My First Love2D Platformer Demo

Posted: Wed Sep 14, 2022 6:22 pm
by GVovkiv
Sammm wrote: Tue Sep 13, 2022 7:34 pm 3. I'll try adding a resize feature.
shameless plug: try this for game scaling https://github.com/Vovkiv/resolution_solution