Left 4k Dead (by Markus Persson) with sound !

Hello,
i have hacked a bit the source code of the game and added sound effects and little music in it. All from where else than L4D. I think it’s even more fun to play now, but i didn’t use any sound compressions so the game is now 25 mb, so it will take time to load applet. It is here: http://web.zone.ee/page/index.html

Nice sounds.

Hope you asked for permission ::slight_smile:

:-X i didn’t, but i hope it’s okay

That most certainly is not ok!!

The top four lines from the source code:

/**
 * Comment free (yay) source code for Left 4k Dead by Markus Persson
 * Please don't reuse any of this code in other projects.
 * http://www.mojang.com/notch/j4k/l4kd/
 */

However, this is insanely awesome, so I hereby grant you a special license to host and advertise that derived version as long as:

  1. You clearly make a notice that it’s based off my work
  2. Provide a clear link to the original game
  3. You don’t make any money of it

Awesome stuff! It’s much more fun with sound. =)

[edit:]

Btw, it still won’t be legal without permission from valve. =)

Should compress the audio to make it load faster.

Yeah I would test but 25 megs its a little much for my connection when I’ve used my bandwidth.

I get this exception several times:

[quote]javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
at com.sun.media.sound.DirectAudioDevice$DirectDL.implOpen(DirectAudioDevice.java:494)
at com.sun.media.sound.DirectAudioDevice$DirectClip.implOpen(DirectAudioDevice.java:1280)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:107)
at com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1061)
at com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1151)
at G.loadSound(G.java:68)
at G.run(G.java:86)
at java.lang.Thread.run(Thread.java:619)
[/quote]
The sound works sometimes.

I don’t see any of the adjustments that were demanded by Markus?!

It’s only been 3 days! Give him a chance, he might have a life outside the forum ;D

Cas :slight_smile:

Naah

blasphomy (ignore spelling ;))

Gratulerar!

Grats on making a really nice game Markus, I really like it, multiplayer would be so cool.

// Json

improvised a legal text. Hope it’s fine now.

Does this need Java 6? Won’t run on my Mac.

Exited the applet, and the sound stayed on…

That’s almost perfect =)

It seems to imply that this version of the game was made by me. Perhaps change to “Original version my Markus Persson. Sound effects added by [YOUR_NAME_HERE].”
To avoid complaints from others, you could add “With special permission” or something.

It’s not important, though, I’m happy with the version that’s there now. And as I said before, nice work, this is much more fun to play than the original. =)

it is more than 4kb though.

I like this version as well.

add more content! new guns and such.

do stuff that 4kb cant :slight_smile: