Making an RPG in Clojure
briancarper.net
briancarper.net
I've been porting the Nehe tutorials to Penumbra and it's been ridiculously straightforward. Being able to update OpenGL on the fly via REPL is also really great fun, especially if you're used to the slow and tedious nature of OpenGL programming with pretty much everything else, http://github.com/swannodette/clj-nehe.
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.
On the plus side you get a reasonably fast, garbage-collected language to write your game in.
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.
All the non-solid objects encountered (eg, grass, tiles) are noted as 'visible'.
What you get is that the character (NPC or human) can see through windows and open spaces, but not through walls. Re-scan every time they move.