The Last Battery

by steve95
Overall★★★★★★★★★★2.62
Fun★★★★★★★★★★2.80
Innovation★★★★★★★★★★2.59
Theme★★★★★★★★★★3.04
Graphics★★★★★★★★★★3.04
Audio★★★★★★★★★★2.85
Humor★★★★★★★★★★2.55
Mood★★★★★★★★★★2.77
You are in a post-apocalyptic era. You are a rusty robot carrying the last battery in the universe !

You need to install Dependencies in your system , read README file.

Github repository has updated makefile so you can install/uninstall dependencies automatically using:
make install and make uninstall respectively

Comments10

LDJam user 282870
LDJam user 2828702 May 2023, 12:28
There is no executable, and I have worked with SDL2 before and it will generate an executable, I just didn't see yours.

I looked at the code and I see where you have the correct headers and such. Just compile, and zip up the dlls for SDL2.dll and SDL2_image.dll and send it on its way.

By the way, the music and graphics look pretty good
Steve95author2 May 2023, 12:49
hello thanks for your comment , did you check in the bin folder ? The executable file is called "run".
You can also find it in the FINAL directory , named "game".
LDJam user 202408
LDJam user 2024082 May 2023, 23:08
unfortunately this looks like a linux executable which I can't really run since I'm on windows, I wish there was a windows build since the majority of people here use windows, I want to give this game a chance so I'll come back in a day or two and see if I can build it from source on windows.
Steve95author3 May 2023, 07:58
Thanks for your effort though , i used Ubuntu because i used this project as a chance to learn C and Linux
combined with SDL2.
Kosmik123
Kosmik1233 May 2023, 13:14
Will you record a gameplay video of your game? I don't think many people will want to install whole SDL for testing one game. I don't want to do this either. Anyway I want to see this game and leave a rating, so watching a gameplay video would be a good alternative
Steve95author3 May 2023, 15:58
Done!
dUmMy4325 May 2023, 13:19
hats off to you making this game using c... i understand that c is hard... and pulling of game in 2 days is no joke (i made a game in c for compo in LD51)... the mechanics were overall good.. the only thing that annoyed me was the collision detection..... overall good job
Steve95author5 May 2023, 17:39
Thank you for your comment! I had problem with collision detection , i tried to implement a box collider but it was too complicated so i stick with "one point collider" and i used the direction of the player as a pseudo-detection for the edge the player collided with the object. It wasn't perfect but it gets the job done!
Nastasya9 May 2023, 07:53
Interesting idea~ Good job
Steve95author9 May 2023, 10:26
Thank you!
Found a bug?
Tell us on Discord