August 23rd-26th 2013 :: Theme: 10 Seconds

Ludum Dare 27 — August 23rd-26th, 2013
[ Results: Top 100 Compo, Jam | Top 25 Categories | View My Entry ]
[ View All 2213 Games (Compo Only, Jam Only) | Warmup ]

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.


Back to Browse Entries

10-Second Switch

by oajfh - 48 Hour Compo Entry

*UPDATE* (30/08) : New .jar up. It should (hopefully) work on all platforms now. I had to anger a couple of seasoned programmers in order to achieve this, so have a thought for those poor unlucky people ! I made no modifications to gameplay, however.

My first Ludum Dare entry. Playable, so, not too bad for a first effort I guess.
I've still gor about five hours left, but let's call it a day.

Controls : Space to shoot, and up/down to move.

The button is there to be clicked on. When clicked on, enemies pop up more frequently, the difficulty overall increases slightly, but player score can get a lot higher. This lasts... 10 seconds, with a... 10 second cooldown (but difficulty stays increased).

That's all you need to know to play, I think. I ended up making some music using Reason.

Notes :
-The score actually depends on a few factors.
-This is the first time I've include sounds in any kind of project, the first game I've just about completed, and the first time I've really used threads.
As such, there are quite a few minor niggles in more professional and polished entries, here's a shortlist :

-Minor collision issues.
-Shooting cooldown can decrease when one restarts game, dunno why. Overall restarting the game isn't very slickly handled, anyway.
-No music muting. Maybe next time.
-Music and art definitely are very much improvised. I'll have to actually learn how to do that kind of stuff next time.
-Background scrolling is very basic.
-Can click on button at any point in time, and it doesn't reset between games.
-On my computer, low fps at first, and sometimes the audio just gives up. I think I've mostly adressed that issue.
Other stuff I'm sure I've forgotten to mention.

But, it was fun !
If you feel like having a look at the source, I'd be really grateful for some feedback (on the music as well), as I really would like to get better at game programming.

Hmm, also, since this is Java, the source could be compatible with Mac and Linux. No clue, really.

Anyways, thanks for reading/skimming through this long monologue, enjoy the entries. I hope to be back again.

Downloads and Links




Pickens Inc. says ...
Aug 25, 2013 @ 8:46pm

I'd love to say I liked the game, but unfortunately I can't play it! When I first ran it, the menu showed up and it said "Press SPACE to start", so I did, but nothing happened! I ran it again, and now I just get a blank screen D:

oajfh says ...
Aug 25, 2013 @ 10:25pm

I've just tested the windows version on another (rather slow) computer so as to double-check, and it seemed to work fine. You might have to be a little more specific about the issue. Perhaps the download wasn't properly completed, or an image was corrupted. I haven't had that error happen any time I tried, though.

oajfh says ...
Aug 25, 2013 @ 11:08pm

It could even be the loading time. As for pressing space, you need focus on the actual screen part (ie click on the title screen first). Sorry, forgot to mention that.

Plu says ...
Aug 26, 2013 @ 7:40pm

The graphics make it really hard to see the bullets against the background. Also when you click the button, you lose focus on the main window and you can't use the keys anymore. But still, good one for a first try :)

oajfh says ...
Aug 26, 2013 @ 9:36pm

Wow, thanks for the feedback ! Yeah, I had noticed the focus issue. I actually got used to it after a while and sort of forgot that I needed to fix it ! I also forgot to mention it above, heh ^^'

Tork says ...
Aug 26, 2013 @ 11:04pm

It froze at score 207, everything is too small!!!
Also for the fire you could give a time between shots, that way we don't have to wait for it to reach out of the screen

Paul Sinnett says ...
Aug 26, 2013 @ 11:04pm

I tried with Linux Mint. It opens a zero size window, which you can resize, but the content is blank. That's about as far as I got. I tried with JDK 6 and 7

zanval says ...
Aug 26, 2013 @ 11:06pm

My System: Ubuntu 13.04 64 Bit; Tested with Java 6 & 7

I can't run it. If you can find out why, I will gladly try it again :)
The game opens an empty window and it throws the following exception to the console:

Exception in thread "main" java.lang.ExceptionInInitializerError
at seconds.focus.gui.Game.start(
at seconds.focus.gui.Screen.<init>(
at seconds.focus.gui.Display.main(
Caused by: java.lang.IllegalArgumentException: input == null!
at seconds.focus.gui.Images.loadBitmap(
at seconds.focus.gui.Images.<clinit>(
... 4 more

zanval says ...
Aug 26, 2013 @ 11:07pm

Paul Sinnett and I probably have the same error. The window matches his description.

Ossi says ...
Aug 26, 2013 @ 11:10pm

I like the 10 second charging mechanic you have, combined with the simplicity of a side scrolling shooter. I think you pretty much exposed most of the issues I was experiencing with the game. Some enemy types I'd like to see are stationary targets on either of the top or bottom surfaces, or maybe enemies that split into smaller enemies! And as someone else mentioned, contrasting the bullets from the background is pretty important for surviving, without feeling like you died from nothing. Good job! :D

oajfh says ...
Aug 26, 2013 @ 11:38pm

In Zanval's case, the menu image isn't loading for some reason. In the other cases, it seems not to finish loading (or is doing so really slowly). Apologies to all those for whom it does not work.
Please note however, that before I started this I knew absolutely nothing about. But thanks for trying (to try) the game !
I'll try and test this on a Linux build tomorrow. Perhaps some paths I provided are not valid for Linux builds.

qrunchmonkey says ...
Aug 27, 2013 @ 8:27am

I played a few times (typically scored ~1100)

It's hard to see the enemy fire (the yellow is nearly the same color used in the background)

Also, it's not entirely obvious in-game what the button does (besides steal focus from the game, forcing you to click the button, then quickly click the game area so that you can control the ship again)

Overall: good first effort.

raincole says ...
Aug 27, 2013 @ 8:29am

It works on my Mac.
The background is chaotic so that i can merely see the bullets.

frogcheese says ...
Aug 27, 2013 @ 8:37am

Got it to run without problem on my Macbook! Feedback: the bullets are hard to see against the background sometimes, and maybe it should be more apparent what the "Ready" button does (didn't see a timer appear or anything). I would've liked there to be more enemies as well, but nonetheless pretty solid for a first effort.

oajfh says ...
Aug 27, 2013 @ 9:21am

@frogcheese : There should be a ten-second timer whenever you click ready.

frogcheese says ...
Aug 27, 2013 @ 11:31am

@oajfh okay, because that didn't happen for me. If the button doesn't work properly I guess it could be because I'm running Mac OS X.

Atridas says ...
Aug 27, 2013 @ 12:24pm

I tested that on MAC OS X and works wonderfully ;-)

JellyMan64 says ...
Aug 27, 2013 @ 2:08pm

It has problems as everyone can admit but it's an adventurous Idea for 10 seconds.

Dry Tree says ...
Aug 27, 2013 @ 2:20pm

Great job! It's impressive to get finished gameplay and sound effects and music in your first LD, so well done. I didn't realise what the button did until I finished playing the game and read the above text - so it would have been nice to see that explained in-game somewhere. Also, I would have liked better contrast between the bullets and the background colours. Overall though nice work!

Brejlounek says ...
Aug 27, 2013 @ 2:30pm

No errors for me (Windows 8). Maybe the backround should be a little darker, as I have trouble recognizing objects. :)

iiechapman says ...
Aug 28, 2013 @ 1:46am

Works fine on my machine, bravo for doing all of it yourself!

wally2069 says ...
Aug 28, 2013 @ 6:16am

There was some massive slowdown about a minute into my play session

Tainted_Code says ...
Aug 28, 2013 @ 1:09pm

oooh, the colours were a bit erm ugh :P The game as a whole? Solid :D

doonay21 says ...
Aug 28, 2013 @ 7:28pm

Windows 7 64 bit - almost OK. What I mean by almost is - I played once, liked it wanted to play again and could not. Game window appears, I can hear the music but I cannot see the game content at all. Anyways played it and what can I say.. Good job!

rejome says ...
Aug 28, 2013 @ 8:11pm

Nice one ! As others said, there are bugs, bullets are too hard to see and losing focus is a pain in the ass, but I really enjoyed playing it! And for a first participation, this is a really good job.

Just Tom says ...
Aug 28, 2013 @ 8:18pm

It's an interesting idea, manually upping the difficulty. Mapping this to a key press would help this idea, but asides from that the concept of "set your own difficulty" as a risk/reward scenario really appeals to me.

The ships aren't too bad, they work in style with each other and the cavern walls are clearly defined. Other graphical aspects don't hit this standard, like the Game Over screen, but in game it's functional. All I'd change for sake of playability is the bullet colour which blends into the background a little too easily.

Ultimately, a fun little playable romp into the idea of player set difficulty. The music is good the game enjoyable, if a bit rough.

Aug 28, 2013 @ 8:43pm

I love your art!! really fun to play :D

Jod says ...
Aug 28, 2013 @ 9:58pm

Sweet little entry! It works and I encountered no bugs, well done!

I'd make sure the colour of the bullets are not in the background. Also maybe moving forward and back?

Other than that, cool!

panurge says ...
Aug 29, 2013 @ 6:46pm

Running Windows 8, I had a similar problem to the one described by Paul Sinnett above. There's probably something wrong at my end so I'll keep trying. I'd like to play this.

oajfh says ...
Aug 29, 2013 @ 8:56pm

@panurge : Actually, it's probably me and the paths I provide for files. I am working on it, but apparently there are subtleties that are making my rather slow brain melt right now (in my defense, I'm tired, and it's a deeper end of the pool, I suppose) and I haven't quite gotten it properly working yet.

Anyway, thanks for the feedback everyone. It is very much appreciated (in fact, I've rated the entries of most of the people who've commented).

Mjiig says ...
Aug 29, 2013 @ 9:40pm

Can't run it on Fedora Linux I'm afraid, I get this error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at seconds.focus.gui.Game.start(
at seconds.focus.gui.Screen.<init>(
at seconds.focus.gui.Display.main(
Caused by: java.lang.IllegalArgumentException: input == null!
at seconds.focus.gui.Images.loadBitmap(
at seconds.focus.gui.Images.<clinit>(
... 4 more

java -version gives:
java version "1.7.0_25"
OpenJDK Runtime Environment (fedora-
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

BlackBulletIV says ...
Aug 29, 2013 @ 10:27pm

Not entirely sure how it fits with theme (you mentioned something about 10 second difficult increases, or something?).

It's good that you took the time to write music, though I did find it somewhat jarring.

panurge says ...
Aug 30, 2013 @ 1:17pm

Works fine with the new .jar! Very enjoyable little shooter. It could have done with a bit more variety and I also agree with the comments about the colour of the bullets, but overall I found this to be a fun experience. The visuals and audio mesh together really nicely.

MuciojadPL says ...
Aug 30, 2013 @ 1:22pm

Graphics is a little irritating my eyes, but the game as a whole is quite good :)

oajfh says ...
Aug 30, 2013 @ 2:01pm

@panurge : Glad to hear it works properly. And thanks for the comments, everyone, again.

ix says ...
Aug 30, 2013 @ 6:16pm

I found pressing the button using mouse while driving with the keyboard was a little awkward.

SnoringFrog says ...
Sep 10, 2013 @ 3:13am

Background graphics make it extremely difficult to see projectiles, which was irritating. It was also irking to have to remember to click the play area every time the button was pressed. I enjoyed the concept though.

You must sign in to comment.

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]