Tested on Linux (Debian Lenny), with OpenJDK 1.6.0_0-b11.
I couldn’t run without first editing the JNLP file to put the opening tag onto one line.
Once I fixed that I could hear jump sound effects with so little latency they almost seemed to be played too early! There was no background music, and it crashed at the end of the first level. Popped up a dialog which said nothing interesting (words to the effect of “There has been an error and Hypblazer must exit”) and didn’t respond when I clicked on the button.
The console from which I ran has lots of
java.lang.Exception: Unable to open the sourceDataLine: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
and a
FINISH!
java.lang.NullPointerException
at com.gagaplay.sound.SoundSystem.playFX(SoundSystem.java:115)
at com.gagaplay.hwblast.Game.nextLevel(Game.java:773)
at com.gagaplay.hwblast.engine.TileFinish.touch(TileFinish.java:37)
at com.gagaplay.hwblast.engine.Road.touch(Road.java:72)
at com.gagaplay.hwblast.engine.Player.tick(Player.java:147)
at com.gagaplay.hwblast.Game.logic(Game.java:517)
at com.gagaplay.hwblast.Game.run(Game.java:417)
at com.gagaplay.hwblast.Game.main(Game.java:227)
which is probably the error which made it crash.
Will now try with OpenAL, but I expect that it has a missing resource and won’t be much happier playing it with a different system.
Edit: well, I was wrong. With OpenAL I got less than a second of background music, and it crashed when I was on about 20 points.
java.io.IOException: mark/reset not supported
at java.io.InputStream.reset(InputStream.java:351)
at java.io.FilterInputStream.reset(FilterInputStream.java:217)
at com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream(SoftMidiAudioFileReader.java:135)
at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1111)
at org.newdawn.slick.openal.WaveData.create(WaveData.java:123)
at org.newdawn.slick.openal.SoundStore.getWAV(SoundStore.java:712)
at org.newdawn.slick.openal.SoundStore.getWAV(SoundStore.java:682)
at org.newdawn.slick.openal.AudioLoader.getAudio(AudioLoader.java:54)
at com.gagaplay.sound.SoundSystem.<clinit>(SoundSystem.java:40)
at com.gagaplay.hwblast.Game.gameStart(Game.java:763)
at com.gagaplay.hwblast.Game.logic(Game.java:554)
at com.gagaplay.hwblast.Game.run(Game.java:417)
at com.gagaplay.hwblast.Game.main(Game.java:227)
java.lang.NullPointerException
at org.newdawn.slick.openal.SoundStore.getWAV(SoundStore.java:714)
at org.newdawn.slick.openal.SoundStore.getWAV(SoundStore.java:682)
at org.newdawn.slick.openal.AudioLoader.getAudio(AudioLoader.java:54)
at com.gagaplay.sound.SoundSystem.<clinit>(SoundSystem.java:40)
at com.gagaplay.hwblast.Game.gameStart(Game.java:763)
at com.gagaplay.hwblast.Game.logic(Game.java:554)
at com.gagaplay.hwblast.Game.run(Game.java:417)
at com.gagaplay.hwblast.Game.main(Game.java:227)
java.lang.NullPointerException
at com.gagaplay.sound.SoundSystem.playFX(SoundSystem.java:106)
at com.gagaplay.hwblast.engine.Player.jump(Player.java:230)
at com.gagaplay.hwblast.engine.TileJump.touch(TileJump.java:31)
at com.gagaplay.hwblast.engine.Road.touch(Road.java:72)
at com.gagaplay.hwblast.engine.Player.tick(Player.java:147)
at com.gagaplay.hwblast.Game.logic(Game.java:517)
at com.gagaplay.hwblast.Game.run(Game.java:417)
at com.gagaplay.hwblast.Game.main(Game.java:227)