Stage Dive Hero

First proper game I’ve ever done in java, even if it is only a mini game.

Used Slick2D and LWJGL, and paint.net for graphics.

Hope you enjoy!! ;D

http://desmond.imageshack.us/Himg259/scaled.php?server=259&filename=demopic1.png&res=landing

http://desmond.imageshack.us/Himg228/scaled.php?server=228&filename=demopic3.png&res=landing

http://desmond.imageshack.us/Himg407/scaled.php?server=407&filename=demopic2.png&res=landing

After the third or fourth restart, the guy doesn’t even start to run for me, regardless of how well/bad I did.

Really :frowning:
I’ll take a look and fix the bug.
maybe the topic title should have been stage dive hero beta

You could add a Screenshot, so we can see, what that game will look like, and you will also get a thumbnail in the “Latest in Showcase” list on the right.

On the game:
Couldn’t play it, I’m using java here.
Things you should do:

  1. You can’t easily start this game with a double-click on that jar. For windows I would set up a .bat, which is acctually only a script file (text file) for the cmd, with the contents: java -java.library.path=/lib -jar Stage\ Drive\ Hero.jar
  2. If you use eclipse, just export the project as a .jar (which is just what you did, I think, and you did it right :P) and then you don’t need to put any lwjgl.jar or any other only-.class-lib in that /lib folder, and it will work fine.
  3. Include the other natives in that /lib folder too, so that people like me (running Linux here) can play it too. But then you either would need to set up a .sh file (which is not too hard too, almost the same as a .bat file), with the contents:
    #!/bin/bash
    java -java.library.path=/lib -jar Stage\ Drive\ Hero.jar
    or you could easily just leave that for the user, which is a bad way.

One more thing, acctually offtopic, just sayin my opinion on Dropbox’s change now:

Actually, these links generated from dropbox now, are slick. They look really good, and they are nice to a user, if you are a HUMAN and are able to CLICK on that button…

But c’mon!!!

I always loved having direct links. So I could easily let a MACHINE download things from my dropbox account.
So it was possible to create Patchers, which just download a file, and then they start it via Runtime.exec().
Also, it was possible to make an Application kind of “browse” through the Public folder with generated url-Strings. So I could easily put every native, I wanted to be downloaded into a folder in the Public folder, and then I could easily put an .dll or .so or whatever at the and of that url-string and then just let it download that file. That does not work now :frowning:

I actually shouldn’t bother, because I still have the old functionality. It’s just my opinion, that they clearly did something wrong for developers (they had to add this mediafire-style… omg that looks so cool. Oh man we want to do that too blah blah…).

Since new 2 replies got posted, while writing this:
@UprightPath:
Look at above. If you would have started it via command-line, you would have seen, that it gives an UnsatisfiedLinkException. You need to start it with java -java.library.path=/lib -jar Stage\ Drive\ Hero.jar via command-line or .bat (a batch).

I found it nearly impossible to hit any arrow, you have to be almost perfectly, you should account for
visual lag a little I guess.

The other thing, holy cow you main class is huge. You should try and split things into separate class files
instead of keeping the entire game in one file. Just good coding rules.

Just a thought.

Hahaha! I know, messiest code ever!

You’re 18, right? :stuck_out_tongue:

The game is pretty nice for a first one, should have a bit more variety tho. Love how the player just speeds off the edge of the stage.
btw the window name should be change to “stage dive hero” not “stage jump hero”

I will definitely do all of these things, but firstly, how do I upload a screenshot???

Oh dear!! How embarrassing!

Sorry, what I meant was that while in game, after the fourth or so restart (Press of ‘R’) the player didn’t move. Of course, I just realized (After trying it again) that’s because if you completely fail at getting any presses correctly, the player’s sprite just stands there. Some sort of indication of a complete failure would be nice.

If you had sound on loud, you do get booed! :stuck_out_tongue:
And no, you were right the first time, it is a bug. :frowning:

use imgur, you don’t even need to make an account. Then just write the generated bb-code (you can see it on the right, after you uploaded the image) into your topic-post :slight_smile: ).

Pretty fun for a little game, sprites are well done. Makes me think of some Flash mini-games.
I 've got the running bug too.

ah ah ah fun game !
My best score is 42m, I’m kinda proud of it :slight_smile: