Defend the Loot!

Defend the Loot!

This game is from ldjam.com, which is currently unavailable.
You can try viewing the original page on Web Archive (may not load correctly).
overall: 3.31
fun: 3.31
innovation: 3.06
theme: 3.29
graphics: 3.12
audio: 3.22
mood: 3.00

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.
Found a bug?
Tell us on Discord