2D Shooter European Hero
I have been working on a vertical 2D shooter named European Hero with a friend of mine and I can say it is finally done.
You can download the game directly from http://www.europeanhero.com.
The game requires JAVA 1.4.1+ and currently only runs on Windows(sorry.)
The controls are:
Q = shoot
W = shield
A = toggle items
S = use item
We would love to get some feedback on the game.
Thanks,
Chris
You created a java game which only runs on windows os? WTF did you do?
But the game itself is really good. Perhaps you sould present it on a platform like [url= http://www.developia.de]Developia[/url]
> The game requires JAVA 1.4.1+ and currently only runs
> on Windows(sorry.)
Seems to work for me under linux :). All you have to do is download the lwjgl-linux stuff as well as the latest GAGETimer (maybe not, but I did, and it works). Then download fmod3, symlink the .so to libfmod.so, and run java -Djava.library.path=. -cp jinput.jar:lwjgl_devil.jar:lwjgl_fmod3.jar:lwjgl.jar:lwjgl_test.jar:lwjgl_util.jar:timer.jar:. EuropeanHero in the main dir. I used wine to run (extract) the install exe.
Oops, make that java -Djava.library.path=. -cp jinput.jar:lwjgl_devil.jar:lwjgl_fmod3.jar:lwjgl.jar:lwjgl_test.jar:lwjgl_util.jar:timer.jar:EuropeanHero.jar EuropeanHero
That is very nice! Unfortunately that is too much work for most people. But perhaps I will also put up a Linux version. Thanks.
Hmm, or maybe it doesn't. Every time I get to lvl 2 it hangs, not even giving a stack trace. Running with jdb it gets stuck here, right after I hit space for the next level:
[1] org.lwjgl.fmod3.FMusic.nFMUSIC_StopSong (native method)
[2] org.lwjgl.fmod3.FMusic.FMUSIC_StopSong (FMusic.java:188)
[3] com.ccorp.sound.CCMODMusic.stop (CCMODMusic.java:39)
[4] EuropeanHero.verplaats (EuropeanHero.java:8,809)
[5] EuropeanHero.run (EuropeanHero.java:10,655)
[6] EuropeanHero.<init> (EuropeanHero.java:989)
[7] EHStartup.run (EuropeanHero.java:24,980)
[8] EHStartup.<init> (EuropeanHero.java:24,925)
[9] EuropeanHero.main (EuropeanHero.java:984)
Hmmm... strange that that would work in Windows but not in Linux... all that line of code does is stop the current MOD from playing. If there is no music playing an exception will be thrown. And it should not lock up.
> Hmmm... strange that that would work in Windows but
> not in Linux... all that line of code does is stop
> the current MOD from playing. If there is no music
> playing an exception will be thrown. And it should
> not lock up.
I expect that I screwed up somewhere with the installation of fmod + the linux lwjgl native libraries, as I had a lot of trouble with them. However, it did managed to play the songs, so I don't know what is wrong. The lwjgl native method that is called is merely a wrapper for fmod stuff, so I would assume that any problem would be in there.