RoboFight by Sri Harsha Chilakapati

[raw]
made by Sri Harsha Chilakapati for LD32 (COMPO)
A simple one-one 2d fighting combat game, where you fight by throwing needles or stinky socks. The other robot (the dark one) is the enemy, and is controlled by the computer.

The controls are simple, use A/D to move, SPACE to jump, ESC to pause. Use RIGHT/UP arrows to shoot and the DOWN arrow to turn on the shield. You can use the F1 key to switch between Windowed and Fullscreen modes. There is a tutorial in the game which will teach you the controls.

Thanks to LD, this is my second completed game. My first one is also in LD too. Thanks a lot LD!!

This game is written using Java 8 and requires a GPU capable of OpenGL 3.3 or higher. Any decent card released after 2008 will work. There is an issue for mac users, they have to download the fixed mac os download provided. Make sure you download RoboFightMac.jar if on OSX. Windows/Linux build works fine on both platforms.

Ratings

Coolness 47% 1383
Overall 2.62 993
Audio 2.71 547
Fun 2.56 916
Graphics 3.19 457
Humor 2.59 624
Innovation 2.44 956
Mood 2.36 935
Theme 2.92 856

Feedback

thedarknightdu78
20. Apr 2015 路 05:23 UTC
An interesting take on the theme. The game is a bit short though ?
OmnipotentPotatoDEV
20. Apr 2015 路 05:29 UTC
Had nothing to do with the theme unless if I am missing something.
Jordan
20. Apr 2015 路 05:37 UTC
Hmm, I'm getting this error when launching the jar on Linux.

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/shc/ld32/game/Main : Unsupported major.minor version 52.0
馃帳 Sri Harsha Chilakapati
20. Apr 2015 路 05:39 UTC
@thedarknightdu78

You are right, I should have left myself some more time to add more stages. I have spent 15 hours on the graphics and two hours on the music. Thanks for your suggestion, I'll improve it in my next game.
馃帳 Sri Harsha Chilakapati
20. Apr 2015 路 05:43 UTC
@OmnipotentPotatoDEV

I think throwing needles and stinky socks are unconventional weapons and with the theme.
馃帳 Sri Harsha Chilakapati
20. Apr 2015 路 05:47 UTC
@Jordan

This game needs Java 8 in order to run. That message says that you have an older version of Java installed.
amras0000
20. Apr 2015 路 05:59 UTC
If anyone is having trouble running this, It's written in Java 8, so update that...
PaperBlurt
20. Apr 2015 路 12:52 UTC
It's like that sock em' robots but digital!
mar3k
20. Apr 2015 路 14:23 UTC
Interesting game, I love that it has the tutorial to make it easy to for player to figure out the controls and the AI, but it is kinda short unfortunately.
馃帳 Sri Harsha Chilakapati
20. Apr 2015 路 14:44 UTC
@mar3k

I feel the same, I should have left myself more time to add more gameplay stages, I could have at least add waves of enemy robos. I admit, everything went out of my plans pretty quickly. I lost 16 hours (in two days) for sleeping, eating and other regular activities. Then I spent 15 hours for the graphics, and 2 hours for the audio. Then I lost 6 hours with power cut (the transformer in our street is damaged).

But it is, really really fun. I will be definitely participating in the next compo, and I'm pretty sure I can learn from this.
bentglasstube
20. Apr 2015 路 16:30 UTC
Very easy to win and not much replay-ability but an interesting concept nonetheless. I enjoyed the weapon selection.
Wevel
20. Apr 2015 路 17:12 UTC
Fun idea, it's a bit easy.
馃帳 Sri Harsha Chilakapati
20. Apr 2015 路 17:21 UTC
@Wevel

Yeah, it's a bit easy, my AI is not perfect. BTW, are you chrislo27 on JGO?
DaGamesta
21. Apr 2015 路 08:29 UTC
Hey, I have Java 8 installed, however I am still getting the following error when I try to run it: http://pastebin.com/c1CbZti8
Domicuc
21. Apr 2015 路 09:29 UTC
Well.. :D its funny but short! xD
Also check my game please! x)
bitdecaygames
21. Apr 2015 路 16:13 UTC
I'm on a MacBooPro, OSX (10.9.5), Intel i7. The jar did not run when I double clicked, right click -> open, or ran from console with java -jar RoboFight.jar.

Stacktrace:

[INFO 04/21/2015 10:16:03 AM] Initializing SilenceEngine. Platform identified as MACOSX
[INFO 04/21/2015 10:16:03 AM] Running AWT fix on Mac OS X, needed for LWJGL to run
[INFO 04/21/2015 10:16:03 AM] Initializing LWJGL library. Extracting natives
[INFO 04/21/2015 10:16:03 AM] LWJGL version 3.0.0a is initialised
com.shc.silenceengine.core.SilenceException: java.lang.IllegalStateException: Please run the JVM with -XstartOnFirstThread.
at org.lwjgl.system.macosx.EventLoop.checkFirstThread(EventLoop.java:20)
at org.lwjgl.glfw.GLFW.glfwInit(GLFW.java:428)
at com.shc.silenceengine.core.glfw.GLFW3.init(GLFW3.java:47)
at com.shc.silenceengine.core.SilenceEngine.init(SilenceEngine.java:103)
at com.shc.silenceengine.core.Game.start(Game.java:188)
at com.shc.ld32.game.Main.main(Main.java:107)

at com.shc.silenceengine.core.SilenceException.reThrow(SilenceException.java:52)
at com.shc.silenceengine.core.SilenceEngine.lambda$static$43(SilenceEngine.java:53)
at com.shc.silenceengine.core.SilenceEngine$$Lambda$1/1418481495.uncaughtException(Unknown Source)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1057)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1052)
at java.lang.Thread.dispatchUncaughtException(Thread.java:1952)
ndebruyn
21. Apr 2015 路 19:54 UTC
Too short
馃帳 Sri Harsha Chilakapati
22. Apr 2015 路 02:19 UTC
@DaGamesta

That error means that your GPU is not capable of OpenGL 3.3. That caused the GLFW to fail creating a window because it can't find the requested context. Unfortunately, I don't want to go back, because

1) OpenGL pre 3.2 is deprecated and
2) I had to rewrite the entire graphics API of my engine if I wanted to go back (149 classes and 12 shaders)

Can you post some more details about your GPU? Like the Make and model?
馃帳 Sri Harsha Chilakapati
22. Apr 2015 路 02:28 UTC
@Domicuc

Thanks for trying my game. Yeah it's a bit short, I should have left myself more time for designing the gameplay. Learnt a lesson this time, I'll improve myself in the coming LD.

Also, your game is cool. Go grab the 5 stars that I gave you. Thanks for playing my entry.
馃帳 Sri Harsha Chilakapati
22. Apr 2015 路 02:32 UTC
@bitdecaygames

That issue is the requirement of LWJGL3, the library I use to access OpenGL and OpenAL from my engine. The workaround for now, is to run it with the specified JVM parameter like this in the terminal.

java -XstartOnFirstThread -jar RoboFight.jar

Since this is bugging with several people on macs, I will now make a special mac build. Sorry for the inconvenience.
grillaface
22. Apr 2015 路 02:37 UTC
Yeah won't run on OSX for me, I hope you can upload a new version!
馃帳 Sri Harsha Chilakapati
22. Apr 2015 路 03:54 UTC
Hello developer here. I just uploaded a mac version. Make sure that OSX users download the 'RoboFightMac.jar' instead. This one is a fat jar which includes the fixes for LWJGL3 to work on Mac.
fauge
22. Apr 2015 路 04:41 UTC
too short, good graphics and good audio. needs some polishing
馃帳 Sri Harsha Chilakapati
22. Apr 2015 路 08:24 UTC
@fauge

I admit it's very short, and also very easy to win. However I have decided to extend this game once the judging is completed. Again, I've to thank LD.
Crowbeak
22. Apr 2015 路 10:31 UTC
I really like the trees.
馃帳 Sri Harsha Chilakapati
22. Apr 2015 路 13:19 UTC
Thanks @Crowbeak
Marcus316
23. Apr 2015 路 02:19 UTC
Not bad, though I had to play through a terrible flickering of the graphics (my machine's issue, not your code, I think). Very short, and very easy, though.
Mathieu Muller
23. Apr 2015 路 21:08 UTC
To bad the game is too short. A simple way to add a replay value is to count the victory streak, and add more and more powerfull enemies.
DaGamesta
23. Apr 2015 路 21:58 UTC
@SHC Sorry it took me so long to reply, I've been busy with work. My GPU is just the GPU built on the motherboard, I have a rather cheap laptop. I will be replacing it within a few months, but I'll see about maybe borrowing a friend's computer to rate your game with at some point in the upcoming weeks.
馃帳 Sri Harsha Chilakapati
24. Apr 2015 路 05:56 UTC
@Mathieu Muller

Thanks for that idea, I plan to continue working on this game once the judging is complete.