Twin Serpents - a multiplayer Double Dragon game

This game is basically going to be a multiplayer fight-em-up similar to double dragon and river city ransom. Currently, most of the framework has been set up. I’m struggling with some graphics issues and some bad network programming on my part that I hope to remedy, but I hope it will soon turn into a really fun game where you can log on and beat up some thugs with your friends.

NOTE Sometimes, the applet likes to go really slow (3-4 fps), when this happens, just scroll to the right and then scroll back, and that usually fixes it. I’m still trying to figure out why that is happening.

NOTE The network code for the applet is even worse than the standalone code, because applets can’t bind to a local udp port, so I had to use tcp. When the game becomes more playable, I’ll release the standalone client, which uses UDP for updating.

Here’s a link:
http://ucfpawn.homelinux.com/java/twinserpents/client/GameApplet.html

Directions: Click the log in button to log in, and then wait while the graphics are loading (might take awhile).

wsad keys moves your character around. j jumps, k kicks, and l punches. you can use k to jumpkick if you are in midair.

Ok, just did a bit of fighting, and it seems cool :slight_smile:

The number at the top left of the screen went between 100 - 200 (ping?). I noticed some lagg.

Camera should also follow the player or something, cuz sometimes you lost track of your character…

The number is the frame rate.

I don’t really know much about network programming, and the lag reflects that ;D

I’m working on it, though.

Thanks for playing =)

neat little start! I look forward to seeing the future of it

thanks, I am a PhD student, so it’s going to progress kinda slow when class starts, but I plan on keeping active on it as long as I can.

Java vendor: Sun Microsystems Inc.
Java version: 1.4.2_05

type 'h' for help

--
Image cache enabled
Audio cache: enabled
ClassLoader cache size: 10
java.lang.NoClassDefFoundError: Illegal name: client/GameApplet
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at java.security.SecureClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.access$100(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at com.opera.PluginPanel.run(PluginPanel.java:424)
      at java.lang.Thread.run(Unknown Source)

Yeah, I saw that.

You ended up logging in just as I was updating the game files, sorry about that.

I had the same error that Abuse got today.

What web browser are you using? Maybe it’s not reading the codebase property. Also, it could be because you don’t have the latest java VM (1.5.0).

Let me know what browser you are using and I will try it on that browser. As of now I have only been using firefox and IE

oh, ok. that’s it, here in my work I have JVM 1.4.2 running under IE. I will upgrade it to JVM 1.5 and give it a try