Page 1 of 2

java game programming?

Posted: Sat Jul 02, 2011 5:26 pm
by Tom_leonardsson
Is java worth learning for game development?

Re: java game programming?

Posted: Sat Jul 02, 2011 8:53 pm
by EccentricDuck
Depends. What do you want to create or work towards?

Java is somewhat simpler than C++ to learn, and there has been a lot of really cool work done in more recent years in Java (like Minecraft), but it's not the raw powerhouse that C++ is.

If you've never programmed before then I'd recommend this: http://env3d.org/beta/node/80
It's a great starting point with good beginner tutorial support.

If you already have some experience, I still think the option above is a good choice, but alternatively I'd recommend going with a language you already know (especially if you already know some C/++). You'll get more out of game programming if your proficiency with the language you're using is higher. The reason I recommend env3d as a good starting point is that the lessons teach you the basics of both at the same time. I wouldn't recommend starting out with anything else in Java unless you already know Java. You don't need to know everything about all the standard Java libraries for getting into game development (and Java has a crap ton of libraries) and most introductions into the language are going to try to get you into working with crap like Swing.

EDIT: I see you already know C/++, Javascript, and C#. I'd go with one of those. Have you considered Unity?

Re: java game programming?

Posted: Sat Jul 02, 2011 11:30 pm
by dr-snipe
You can create Java applets which run in the browser (basically Flash but more geared towards the programmer and not so much the artist). There's also a Java 3D library that you can easily create 3D with but that wouldn't be best for a beginner.

It's not a bad language to use for game development. A really good incentive about it is the cross-platform capability. Nothing has to change to make it run on a Mac or PC :)

Re: java game programming?

Posted: Sun Jul 03, 2011 4:01 am
by EccentricDuck
One of the great things about env3d is that it's dead simple to create an applet with it if you use the BlueJ IDE.

Re: java game programming?

Posted: Sun Jul 03, 2011 9:48 am
by short
dr-snipe wrote:It's not a bad language to use for game development. A really good incentive about it is the cross-platform capability. Nothing has to change to make it run on a Mac or PC :)
Thus allowing cross-platform lameness. Go Java.

/end-trolling

Re: java game programming?

Posted: Sun Jul 03, 2011 1:16 pm
by dr-snipe
short wrote:
Thus allowing cross-platform lameness. Go Java.

/end-trolling
What's so "lame" about that? Or do you believe its cooler to have to rewrite everything for a different platform?

Re: java game programming?

Posted: Sun Jul 03, 2011 2:30 pm
by Tom_leonardsson
short wrote:
dr-snipe wrote:It's not a bad language to use for game development. A really good incentive about it is the cross-platform capability. Nothing has to change to make it run on a Mac or PC :)
Thus allowing cross-platform lameness. Go Java.

/end-trolling
I actully have a macbook and a pc so cross-platform is the right thing :)

Re: java game programming?

Posted: Sun Jul 03, 2011 3:54 pm
by dandymcgee
dr-snipe wrote:
short wrote:
Thus allowing cross-platform lameness. Go Java.

/end-trolling
What's so "lame" about that? Or do you believe its cooler to have to rewrite everything for a different platform?
It was a biased opinion on Java. He was implying that Java apps are lame and making a lame app cross-platform doesn't make it any less lame.

Re: java game programming?

Posted: Sun Jul 03, 2011 8:05 pm
by Falco Girgis
dr-snipe wrote:
short wrote:
Thus allowing cross-platform lameness. Go Java.

/end-trolling
What's so "lame" about that? Or do you believe its cooler to have to rewrite everything for a different platform?
Recompile. You don't have to rewrite anything if you know what you're doing. ;)

Re: java game programming?

Posted: Mon Jul 04, 2011 5:01 pm
by rolland
Tom_leonardsson wrote:Is java worth learning for game development?
You mean for a career in game development? I have no idea. It couldn't hurt.
But it's useful in some cases. For example, if you want to see your games on the Android OS, I believe you need to write them in Java.

Re: java game programming?

Posted: Tue Jul 05, 2011 2:50 am
by Tom_leonardsson
rolland wrote:
Tom_leonardsson wrote:Is java worth learning for game development?
You mean for a career in game development? I have no idea. It couldn't hurt.
But it's useful in some cases. For example, if you want to see your games on the Android OS, I believe you need to write them in Java.
I know theres almost no game companys using Java except for mojang, It's more for a hobby kinda

Re: java game programming?

Posted: Thu Jul 07, 2011 8:18 pm
by Pornomag
I know this sounds lame but what about Jagex? Pretty sure they use Java for their games (like RuneScape and any other games they have made)...

Re: java game programming?

Posted: Thu Jul 07, 2011 8:25 pm
by avansc
Tom_leonardsson wrote:
rolland wrote:
Tom_leonardsson wrote:Is java worth learning for game development?
You mean for a career in game development? I have no idea. It couldn't hurt.
But it's useful in some cases. For example, if you want to see your games on the Android OS, I believe you need to write them in Java.
I know theres almost no game companys using Java except for mojang, It's more for a hobby kinda

I guess no companies make games for the android market...

Re: java game programming?

Posted: Fri Jul 08, 2011 2:34 am
by Tom_leonardsson
avansc wrote:
Tom_leonardsson wrote:
rolland wrote:
Tom_leonardsson wrote:Is java worth learning for game development?
You mean for a career in game development? I have no idea. It couldn't hurt.
But it's useful in some cases. For example, if you want to see your games on the Android OS, I believe you need to write them in Java.
I know theres almost no game companys using Java except for mojang, It's more for a hobby kinda

I guess no companies make games for the android market...
we still got javascript and c and flash cs5 has something android

Re: java game programming?

Posted: Fri Jul 08, 2011 8:51 am
by Falco Girgis
Android is open to C/++ now...