Defend the Loot! by ArtemFTW
Game
The objective of the game is to protect your treasure chest from waves of enemies. Before every wave you have a minute to build up your base. The game has 10 levels which consist of 10 waves.
Have fun!
About
This was my second Ludum Dare and it went quite well! I'm quite proud of this game as it's the fourth game I every completed and it is way better than my last Ludum Dare game (https://ldjam.com/events/ludum-dare/42/running-out-of-space-17).
Tools Used
This was made from scratch with C++ and SDL2. You can view the source code from the link below, although I'd suggest you don't as it isn't very good. I was gonna write sane code at first, but as the compo went on I kinda stopped...
Here's a full list of what I used if you're curious: * Language: C++ (C++20) * Libraries: SDL2, SDL2 Image, SDL2 Mixer, and SDL2 TTF * IDE: Visual Studio 2019 * Sprites: Paint.Net * Audio: BFXR and Abundant Music
Screenshots




Compo Version Changelogs
- Fixed a bug that caused the game to crash after all music tracks played.
- Made minor adjustments to the level 1 map to prevent mobs from getting stuck when spawning.
- Fixed an issue where the next music track did not start immediately after the last one ended.
- Fixed a bug that caused the game to crash when background music ends.
- The game no longer freezes for a second while it prepares to play the next music track.
- After the final wave you no longer have to wait through the preparation phase before you can proceed to the next level.
- Fixed a bug where the game would crash after playing all 4 music tracks. It now resets back to the first track.
- Fixed a bug that prevented one of the music tracks from playing.
- Fixed a bug that caused the game to crash sometimes when the player died.
Note
I didn't have much time to polish the game. So far I fixed all bugs and crashes I found, but you may still encounter some crashes. If you do please let me know by leaving a comment. It would also be helpful if you mentioned exactly what you did before the game crashed. Thanks!
Known Issues
None, all bugs have been fixed!
Post-Compo
The Post-Compo version of the game is now available! If you enjoyed the original consider trying it! If you have some feedback leave a comment and I might add your suggestions in a future update! For a full list of changes check out the development log on the Itch.io page.
| Youtube | https://its-artem.itch.io/defend-the-loot |
| Youtube | https://github.com/itsArtem/Ld46 |
| Original URL | https://ldjam.com/events/ludum-dare/46/defend-the-loot |
Ratings
| Overall | 651th | 3.31⭐ | 60🧑⚖️ |
| Fun | 506th | 3.305⭐ | 61🧑⚖️ |
| Innovation | 709th | 3.06⭐ | 60🧑⚖️ |
| Theme | 821th | 3.289⭐ | 59🧑⚖️ |
| Graphics | 725th | 3.119⭐ | 61🧑⚖️ |
| Audio | 407th | 3.223⭐ | 58🧑⚖️ |
| Mood | 681th | 3⭐ | 59🧑⚖️ |
| Given | 66🗳️ | 61🗨️ |
The building etc was nice and overall it had a very nice presentation, would love a way to tie in defences with defeating the enemies though!
Also, the game crashed two time, the first time on the first wave and the second time at the end of second wave :/
More depth would have fit the game well :slight_smile:
The strat turned the game into a sort of bullet hell game but did leave me feeling like the walls were just there for bait. Would like to of had some advantage by being behind a wall, like arrow slits or something, as being behind a wall just seemed to mean you couldn't fight back and had to wait for them to break down your walls before you could do anything.
Good entry, quite enjoyed playing it as felt solid.
I wish I could have spent more time with this game, I had a lot of fun with it. The build / defend gameplay loop is satisfying, the art looks very solid for a compo game ( the UI is especially nice, I'm a big fan of it.) It's definitely open to cheesy strategies as mentioned above, but I think different game design decisions could nudge this into a very polished title. Do you plan to keep working on it?
here are a few suggestions:
- visual indicator of health to blocks so you know how close they are to breaking.
- the ability to still build when the wave starts (I accidentally removed an important block right before the wave started)
- A way to attack enemies through walls instead of waiting for them to break through to be able attack them.
These are just my suggestions, you can ignore them if you want, its your game after all.
Overall I had a Great time playing it and Loved the music! fantastic job!
Greato Jobu! :smile:
So, anyway, neat little game I quite enjoyed with quite a lot of potential
That aside, I really like how smooth the gameplay loop is!
I managed to get on the 6th wave before the game crashed. Win 64 version on a Windows 10.
The music fits well the game and is pretty cool. Graphics are simple as well, but it's a good job for the time you had.
As for the gameplay, it's pretty simple but it works. The game is intuitive and the concept is good.
I would let the player scroll with the mouse to go through items you can buy, since the time is limited between each wave it could let him get a bit more time.
Building the terrain itself is a pretty good idea and let you be imaginative in the way you tackle the mobs. Limiting a bit more the money you get could help balance the game.
The top-right part of the arena seems to be kinda bugged as I had mobs blocked up there multiple times.
Anyway, it was fun. Good job! Especially given the time you had and the fact that you made it from scratch. o/
Update: sometimes music stops and game crashes after a while, x64 version.
Obviously, a cool pathfinding AI would be nice for a game like this, but that would took way more time to implement.
Well done! I really liked it.
Also, in wave 7 and another one before that, there would be 1 enemy left and I would have to search for it xD. Also, I saw that it was a bit heavy on the GPU for some reason. Apart from those i liked the game, the sounds, art and gameplay. It was good :)
When I clicked on Ld46.exe this blank window showed up and then it suddenly closed. I really don't know what's wrong. This happened to the other 3 versions as well
The only thing I am wondering is, if you could level it a bit differently so the player gets more points to build with (so more points from each wave). This would make the building part more fun, instead of just repairing the walls and then only have a little left to build more. I think that the way the game currently plays means that you miss out on some of the fun things you can do in the game. Maybe that makes no sense, sorry!
Such an awesome entry, its amazing the game feels so complete in such a little amount of time.
Then add a few more content (like upgrades, weapons, block types)
I will try the post-dare version later for sure!