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 ECS platformer
-
- Party member
- Posts: 234
- Joined: Mon Aug 29, 2016 8:51 am
Re: Abandoned ECS platformer
Looks great, movement is natural, plays very smooth, I'd say you have a solid base here. The art looks great too.
Re: Abandoned ECS platformer
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.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.
It's also worth mentioning the lovely art is by o_lobster on itch.io
- Gunroar:Cannon()
- Party member
- Posts: 1142
- Joined: Thu Dec 10, 2020 1:57 am
Re: Abandoned ECS platformer
Ah, you should add some screenshots
Re: Abandoned ECS platformer
I made a short video of some gameplay footageAh, you should add some screenshots
- Gunroar:Cannon()
- Party member
- Posts: 1142
- Joined: Thu Dec 10, 2020 1:57 am
Re: Abandoned ECS platformer
Wow, even better . Though screenshots can still help for quick glances while scrolling through.
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 9 guests