Abandoned ECS platformer

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
marclurr
Party member
Posts: 158
Joined: Fri Apr 22, 2022 9:25 am

Abandoned ECS platformer

Post by marclurr »

A few months ago I started working on a platformer that I was planning to have done and dusted in about 40 hours of work. Long story short I procrastinated by spending too much time on minutiae, including rewriting the entities system using Tiny ECS, until I eventually got bored and stopped working on it about a month ago.

It seems a shame for it to completely go to waste so I thought it might be a useful resource, especially for anybody interested in using ECS. While it's by no means a beautiful example, most of the resources I found on the subject were so contrived they didn't help, so hopefully this might give someone some inspiration on their own projects.

Source code (and a bit more background) is available on Github: https://github.com/marclurr/love2d-platformer

I've attached a build of it in case anyone is interested, I'd be interested to hear feedback if anybody has a go. The controls might seem slightly odd but are:

Keyboard:

Menus:
W and S to move up and down
J to accept
Esc to go back

Game:
A and D to move
J to jump (hold S to "jump down" through certain platforms)
K to attack
Esc to pause

Xbox style controller:

Menus:
Up/Down on D-pad to move up and down
A to accept
B to go back

Game:
Left/Right on D-pad to move
A to jump
X to attack
Start to pause

abandoned.love
(86.66 KiB) Downloaded 189 times
KayleMaster
Party member
Posts: 234
Joined: Mon Aug 29, 2016 8:51 am

Re: Abandoned ECS platformer

Post by KayleMaster »

Looks great, movement is natural, plays very smooth, I'd say you have a solid base here. The art looks great too.
User avatar
marclurr
Party member
Posts: 158
Joined: Fri Apr 22, 2022 9:25 am

Re: Abandoned ECS platformer

Post by marclurr »

KayleMaster wrote: Sat Jul 09, 2022 8:13 am Looks great, movement is natural, plays very smooth, I'd say you have a solid base here. The art looks great too.
Thanks for the feedback. I am quite happy with how the player movement came out, though there are a few minor bugs (which I know how to fix, I just didn't bother). The 'engine' is pretty much at the point where I just need to churn out some levels and enemies. I'll probably pick it back up at some point and make something with it but for now I'm pretty burnt out on the project. I've started messing around with Pico-8 as it gives me less room to waste time on bloat.

It's also worth mentioning the lovely art is by o_lobster on itch.io
User avatar
Gunroar:Cannon()
Party member
Posts: 1142
Joined: Thu Dec 10, 2020 1:57 am

Re: Abandoned ECS platformer

Post by Gunroar:Cannon() »

Ah, you should add some screenshots :3
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
marclurr
Party member
Posts: 158
Joined: Fri Apr 22, 2022 9:25 am

Re: Abandoned ECS platformer

Post by marclurr »

Ah, you should add some screenshots :3
I made a short video of some gameplay footage

User avatar
Gunroar:Cannon()
Party member
Posts: 1142
Joined: Thu Dec 10, 2020 1:57 am

Re: Abandoned ECS platformer

Post by Gunroar:Cannon() »

Wow, even better :awesome: . Though screenshots can still help for quick glances while scrolling through.
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 9 guests