Keep the Tree Alive by g12345
Story
Sometime in the future, the world is in a disarray.
4 Robots has found a place with a living tree. One of them has the power to save the tree. Guide this robot to the tree!
Unfortunately they ran out of power, but fortunately there are enough batteries lying around.
Controls/Keys
Move the robots with the arrow keys. You can only move one at a time.
Press x or space key to switch robot.
To win, guide the gray/grey robot to the tree.
Every move costs 1 battery power. A battery recovers 5 battery power.

About the game
My last LD was LD43, and that was 2 years ago. So glad I finally have some time to do this, and while the code is very similar to my last game, this game plays completely different and fine too.
Of course I've drawn more tiles that didn't got used, and some other ideas, too. But in the end I depend on my random map generation skills again; but that came out well, too. I wanted to make maps but just didn't had the time.
Thanks for playing!
| Youtube | https://g999888.github.io/keep-the-tree-alive/ |
| Youtube | https://github.com/g999888/keep-the-tree-alive |
| Original URL | https://ldjam.com/events/ludum-dare/46/keep-the-tree-alive |
Ratings
| Overall | 1374th | 3.433⭐ | 32🧑⚖️ |
| Fun | 1092th | 3.383⭐ | 32🧑⚖️ |
| Innovation | 425th | 3.717⭐ | 32🧑⚖️ |
| Theme | 1728th | 3.417⭐ | 32🧑⚖️ |
| Graphics | 1840th | 3.117⭐ | 32🧑⚖️ |
| Humor | 1707th | 2.391⭐ | 25🧑⚖️ |
| Mood | 1766th | 3.054⭐ | 30🧑⚖️ |
| Given | 37🗳️ | 37🗨️ |
Two little bugs I stumble into : my first try I encountered an impossible map so I restarted with enter and noticed that the robots baterry didn't restart.
Should be updated by now.
As for impossible maps, the map is completely randomly generated, and that means there will be maps that will be literally impossible, and I think that's fine.
Critique-wise, I'd say the game is fairly easy, but maybe I got lucky with the RNG. And sound would've been welcome of course. There isn't much depth to the game outside of the main battery mechanic (or if there is, I didn't notice it) so the three play-throughs I did are enough for me. I kind of wish for more complexity so I would play more.
All in all, good job!
@jacksgamessucks The robot you control has a small animation. I have no idea how much more this can be improved without confusing the player. Thanks for liking it.
Since you were accepting bug reports, I got this one where pressing Enter (restart) doesn't reset the robots' positions, which allowed me to win by restarting every time I ran out of battery. Interestingly, the bug doesn't happen if I restart upon winning the game.
I found the raising of the arms of the robots not only cute but a very simple way of identifying who I was controlling at the time. Overall a very cool little game with an interesting mechanic and well put together.
@kjscott I don't think that's a bug, it's because the game adds a delay whenever a key is pressed to distinguish between keypresses. This means quick keypresses are (intentionally) not detected, but you can hold a key to move slowly.
@voidsay I'm not very good at music. I was already happy to finish the game within time so there was no time for music.
@jorim I originally planned to make some well designed levels but due to time constraints I ended up with this simple level generator.
And no, there is intentionally no algorithm implemented to make it solvable. It's not that hard (I've solved all the problems of Advent of Code last year and this is easier.) but it takes time and gives too little. Also I get frustrated if I know if it's solvable. Now I can just say: "oh it's random" if I can't solve it.