
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).
You can try viewing the original page on Web Archive (may not load correctly).
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.