JAVA Vertical shoot 'em up completed

We have created an old school vertical shoot 'em up with JAVA.

It was a lot of work but result is very nice. We also did the sound effects, music and artwork.

Collect money to buy upgrades for your ship and eventually save the universe! :-D

Please let us know what you think,

Regards Chris

A screenshot can be found at:

http://www.europeanhero.com/images/screenshots/ehpromox.gif

The game can be played from:

http://www.europeanhero.com

Message was edited by:

Sloesp

[536 byte] By [Sloespa] at [2007-11-26 21:09:58]
# 1
The point of Java is platform independence. Do you have a distribution which isn't an .exe?
YAT_Archivista at 2007-7-10 2:46:09 > top of Java-index,Other Topics,Java Game Development...
# 2
I'm afraid not, perhaps in the future I can get it to work with Java Web start. That would be really nice. I guess that would be the next step. Therefore currently it is not platform independent. Chris
Sloespa at 2007-7-10 2:46:09 > top of Java-index,Other Topics,Java Game Development...
# 3

Ok, I have added the linux and mac os LWJGL libraries and also the FMOD libraries for linux and mac os.

I don't have any experience with linux or mac os, if someone could test it?

I think the Linux version might work, but I don't think the mac os version will. I am a bit confused what files of the "fmodapi375mac.sit" are needed for the FMOD. Anybody have any ideas?

The txt files for linux and mac os contain the command to execute with java.

Link:

http://www.europeanhero.com/files/EH_Test_OS.zip

Thanks, Chris

Sloespa at 2007-7-10 2:46:09 > top of Java-index,Other Topics,Java Game Development...
# 4
What's wrong with a jar file?
CaptainMorgan08a at 2007-7-10 2:46:09 > top of Java-index,Other Topics,Java Game Development...
# 5
The problem is that I can't seem to get the music to load from the JAR file. Images and sounds are no problem since I use an URL but FMOD only supports a string for loading music...Anybody who has done this before?
Sloespa at 2007-7-10 2:46:09 > top of Java-index,Other Topics,Java Game Development...
# 6
If anyone could test the Linux version, that would be great! Thanks,Chris
Sloespa at 2007-7-10 2:46:09 > top of Java-index,Other Topics,Java Game Development...
# 7
Hmm, I like it, but yes, a java web start would be more convinient. And also, you don't have any questions in this, how can we answer them and get duke stars?
sumplesnooba at 2007-7-10 2:46:09 > top of Java-index,Other Topics,Java Game Development...
# 8

> If anyone could test the Linux version, that would be great!

The easy bit was to fix the separators and get the correct invocation java -Djava.library.path=lwjgl-1.0/native/linux:lwjgl_optional-1.0/native/linux:fmod/native/linux -jar EuropeanHero.jar

At this point I get a UI with some buttons without text (or possibly with black text on a black background). If I click on them them they're black text on a grey background, so I can find out what they are by clicking, dragging away, and releasing the mouse button outside the UI button's area.

I go "Start Game", "Windowed", and it dies with org.lwjgl.fmod3.FMODException: Unable to load fmod library

at org.lwjgl.fmod3.FMOD.create(FMOD.java:292)

at com.ccorp.sound.CCMODMusic.<init>(CCMODMusic.java:12)

at EuropeanHero.init(EuropeanHero.java:1180)

at EuropeanHero.<init>(EuropeanHero.java:1017)

at EHStartup.run(EuropeanHero.java:25432)

at EHStartup.<init>(EuropeanHero.java:25368)

at EuropeanHero.main(EuropeanHero.java:1009)

After a bit of looking at source code I discovered that this can be fixed with cd fmod/native/linux

ln -s libfmod-3.75.so libfmod.soI run again, click the same buttons, and this time get Exception in thread "main" java.lang.LinkageError: Version mismatch: jar version is '8', native libary version is '7'

at org.lwjgl.Sys.<clinit>(Sys.java:105)

at org.lwjgl.openal.AL.<clinit>(AL.java:59)

at com.ccorp.sound.CCALSound.<init>(CCALSound.java:86)

at EuropeanHero.init(EuropeanHero.java:1189)

at EuropeanHero.<init>(EuropeanHero.java:1017)

at EHStartup.run(EuropeanHero.java:25432)

at EHStartup.<init>(EuropeanHero.java:25368)

at EuropeanHero.main(EuropeanHero.java:1009)At this rate it's looking like it would be easiest to just download the libraries myself.

YAT_Archivista at 2007-7-10 2:46:09 > top of Java-index,Other Topics,Java Game Development...
# 9
Ok, thanks a lot! I will just have to install Linux and figure it out from there. That would be best :-)
Sloespa at 2007-7-10 2:46:09 > top of Java-index,Other Topics,Java Game Development...