My First Love2D Platformer Demo

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
Sammm
Prole
Posts: 37
Joined: Fri Sep 09, 2022 4:39 pm

My First Love2D Platformer Demo

Post 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 131 times
Screenshot 2022-09-13 11.17.44 AM.png
Screenshot 2022-09-13 11.17.44 AM.png (241.98 KiB) Viewed 2205 times
So far, I've really enjoyed using Love2D, and I hope to use it in some future projects and stick with it!
Lua is LÖVE, lua is life
User avatar
milon
Party member
Posts: 472
Joined: Thu Jan 18, 2018 9:14 pm

Re: My First Love2D Platformer Demo

Post 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 ;)
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
User avatar
Sammm
Prole
Posts: 37
Joined: Fri Sep 09, 2022 4:39 pm

Re: My First Love2D Platformer Demo

Post 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! :)
Lua is LÖVE, lua is life
User avatar
GVovkiv
Party member
Posts: 668
Joined: Fri Jan 15, 2021 7:29 am

Re: My First Love2D Platformer Demo

Post 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
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 34 guests