Ludum Dare 29 — April 25th-28th Weekend — Theme: Beneath the Surface

Event Links: [ MiniLD 50 | Warmup Weekend | Real World Gatherings | Ludum Deals | Wallpaper ]

Back to Browse Entries

Underwater mayhem

by Jarob22 - 48 Hour Compo Entry

My first time using any sort of graphics library in c++, and my second graphical application ever!

It's very simple - avoid the explosive barrels, and collect the underwater monsters. Have fun!

To run the windows version, just extract the .zip and double click the exe.

To run the linux version, again extract the .bz2 file (with tar or similar) then run the .sh file. Make sure the file has execute rights by running chmod +x on it.

Source is available via the git link provided, or via

Downloads and Links




mrexcessive says ...
Apr 28, 2014 @ 4:43am

Sorry was expecting run in browser version on web link, can't run or rate.

Andy Gainey says ...
Apr 30, 2014 @ 4:58pm

Congratulations on first graphical project in C++! I know that can be daunting.

If you wanted to explore the graphics library more, I think a high value effect could be implemented for the monster spawn event, perhaps a scale from 0% to 100%. I got a little confused at first when I grabbed a monster and it seemed to merely teleport from one location to another (it was actually a new monster).

The game could probably also benefit greatly from some improved physics and AI. Maybe add some inertia to the player and barrels, make the barrels obey buoyancy below water and gravity above water, and have the monsters follow some sort of jellyfish logic, a la Mario. For example, every two seconds, they pick a random upward/sideways direction and dart there, and otherwise they just gain downward momentum due to gravity.

Some form of difficulty progression could help too, as the player gets a higher score. More barrels, faster moving monsters. There are probably all sorts of creative options, such as monsters that try to get nearer to barrels or something.

Being able to view your score *after* losing would have been nice, as well as having a way to restart from within the application, rather than letting it auto-exit and then have restart the application manually.

RabidPotatoe says ...
May 2, 2014 @ 12:32am

Oddly, I'm getting

./ line 3: /home/nathan/Downloads/ld29_jr/Underwater_Mayhem: No such file or directory

when I try to run it.

Lafie says ...
May 2, 2014 @ 11:57am

The graphics are completely functional, with a clear distinction between the player, objectives and hazards sprites. The turn-based control (similar to asteroids) takes a little time to get used to, but works reasonably well otherwise.

The game could benefit a lot from increasing difficulty, for instance by increasing the number of barrels over time. Right now, once you have to control down, the challenge is gone.

ghostmaple says ...
May 9, 2014 @ 3:41am

Andy pretty much hit all my main points already. Congrats on getting something working in SDL!

You must sign in to comment.

IMPORTANT NOTE: If you want to place in the final results, you NEED votes. The easiest way to get votes is by rating other games. Judging lasts for 3 weeks following the end of Ludum Dare. For best effect, rate 20 games as soon as possible. Rating more games is encouraged.


TEAMS: Teams entering the Jam should pick a single representative to submit your game, or create a team specific account you can share. We currently do not support Team Voting, but sharing an account and together playing and rating games is acceptable.

NOT LOGGED IN?: If you get a message about not being logged in, even though you are, it’s because your web browser cached the non-logged in page. You can fix this by either refreshing your cache or clearing your cache. CTRL+F5 in many browsers. Chrome is a bit more work. Press F12 to enable Developer Mode, then you can right click on the refresh button and select “Empty Cache and Hard Reload”. This option is unavailable if you are not in Developer Mode.

PORTS: Ports to other platforms can be done after the deadline. That said, the sooner you finish your port, the sooner people can play your game, improving your chances of placing in the final results. For best results, provide a Web version of your game, or a Windows version with no dependencies. Also be sure to rate about 20 games to improve your visibility.

MY GAME DOESN’T SHOW UP: If you can’t find your game, it’s usually because the URL to your downloads are missing ‘http://‘. Fix your URLs ( and you will show up.

MY GAME CRASHES, IS UNBEATABLE, OR I MADE A TYPO: We allow you to fix crash or win condition bugs after the deadline (in a sense, like “porting” to support more players). We also allow “typo” bugs. I.e. A true that should have been a false, a word that should have been a different word, very tiny changes that you would have caught if you had more sleep. We leave this open to interpretation, but generally speaking your game should be identical to the game you submitted. No new features, just things you messed up last minute. Typos.

[cache: storing page]