News for hackers. Stuff that matters.
Re:Making an RPG in Clojure by pragmatic on Sunday February 21, 2010 @11:29AM (#1140726)
I've played around with making a strategy game in Java/Scala. It was surprisingly easy to work with. I didn't take it too far but performance was adequate (for a 2D, turned based game).

Anyone with experience making a "real" game in Java. I know http://www.freecol.org/ is built in Java.

Just wonder why it's not more popular for indie/casual games. Does performance degrade that much?

I'm do mostly C# but I wanted to try the JVM for cross platform deployment.

Re:Making an RPG in Clojure by Zarkonnen on Sunday February 21, 2010 @11:43AM (#1140752)
I'm writing a Java-based game ( plug: http://www.metalbeetle.com/spaceexploration/ ). Performance can be very tricky if you want a good screen resolution, and there's lots of gotchas, like having to make sure that you force your sprites into the right colour space for your screen.

On the plus side you get a reasonably fast, garbage-collected language to write your game in.

Re:Making an RPG in Clojure by tmountain on Sunday February 21, 2010 @02:33PM (#1141095)
Looks great! I'll definitely be giving this a try.
Re:Making an RPG in Clojure by jcromartie on Sunday February 21, 2010 @08:35PM (#1141667)
I really think it's just stigma. The joke goes:

Knock knock!

Who's there?

...

...

Java!

Of course today the performance of Java is fine, even comparable to C/C++ in some cases. Java2D is accelerated, the JDK comes with OpenGL/OpenAL, and there are all sorts of other libs like LWJGL and Slick. It might even be up there with XNA for desktop game development now, but I haven't done anything in-depth.

Re:Making an RPG in Clojure by stonemetal on Sunday February 21, 2010 @08:02PM (#1141604)
Back when I was looking at trying to write a game in java(pre 05 or so). Java was horribly broken for games. Sound support was so so. On the graphics side Java 3d had been abandoned with vague promises of Opengl support. None of the third party Opengl bindings were mature. So I went back to C++.
Re:Making an RPG in Clojure by noarchy on Sunday February 21, 2010 @04:24PM (#1141265)
Perhaps it isn't the most popular example, but isn't Runescape done in Java?
Re:Making an RPG in Clojure by Zarkonnen on Monday February 22, 2010 @02:52AM (#1142210)
Good point - it is. Though they have a somewhat strange approach of implementing everything - up to & including basic data structures - from scratch.