What should i use to develop multiplayer game online in browser ?

I’d like to develop a video game as a part of a learning process. I study JAVA. Previously I made one using Java applet. Somehow it works only on linux if you have installed IceTea Plugin and won’t run on Windows saying that security problem bla blah blah…

Here’s what I want:

  • 2D game
  • It has to be Java.
  • Runs in browser.
  • Work in Windows/Mac/Linux
  • Support multiplayer

What are my choices? Any game developing platforms for Java?

Check out LibGDX (http://libgdx.badlogicgames.com/). It allows you to export to an HTML version that uses GWT.

Thanks! Checking out their videos…

LibGDX is great, but you should know the basics before you try to dive into it.

If you’re a novice (and it sounds like you are, which is cool- that’s how we all started out), then you might want to check out Processing.

You can use its Processing.js to deploy as HTML and JavaScript as well.

Thanks! I’ll check it out this as well.

Also, I should note that multiplayer is NOT trivial, so you should really start much smaller and work your way up.

Here’s the link to my small game:
http://romzes.altervista.org/java/

You have to jump through the right hoops to get a java version working. To work for ordinary
users without disabling all security, the applet has to be signed by a real certificate, and if it
uses sockets it has to use the “all permissions” setting instead of sandbox.

It was relatively easy do develop the applet but deploying was a nightmare.

have a look at webgl, a selection of engines for you to try can be found here

http://html5gameengine.com/tag/webgl