java game programming?

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Tom_leonardsson
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 62
Joined: Mon Jun 27, 2011 6:08 pm
Current Project: Map editor
Favorite Gaming Platforms: nes,nds,snes,DOS,GBA,the Nd,android
Programming Language of Choice: c/++,javascript,Java
Location: Sweden,skåne,Tecomatorp

java game programming?

Post by Tom_leonardsson »

Is java worth learning for game development?
User avatar
EccentricDuck
Chaos Rift Junior
Chaos Rift Junior
Posts: 305
Joined: Sun Feb 21, 2010 11:18 pm
Current Project: Isometric "2.5D" Airship Game
Favorite Gaming Platforms: PS2, SNES, GBA, PC
Programming Language of Choice: C#, Python, JScript
Location: Edmonton, Alberta

Re: java game programming?

Post 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?
User avatar
dr-snipe
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 42
Joined: Sun Dec 19, 2010 10:09 pm
Programming Language of Choice: C++, Java, PHP
Contact:

Re: java game programming?

Post 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 :)
User avatar
EccentricDuck
Chaos Rift Junior
Chaos Rift Junior
Posts: 305
Joined: Sun Feb 21, 2010 11:18 pm
Current Project: Isometric "2.5D" Airship Game
Favorite Gaming Platforms: PS2, SNES, GBA, PC
Programming Language of Choice: C#, Python, JScript
Location: Edmonton, Alberta

Re: java game programming?

Post 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.
User avatar
short
ES Beta Backer
ES Beta Backer
Posts: 548
Joined: Thu Apr 30, 2009 2:22 am
Current Project: c++, c
Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
Programming Language of Choice: c, c++
Location: Oregon, US

Re: java game programming?

Post 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
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
User avatar
dr-snipe
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 42
Joined: Sun Dec 19, 2010 10:09 pm
Programming Language of Choice: C++, Java, PHP
Contact:

Re: java game programming?

Post 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?
Tom_leonardsson
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 62
Joined: Mon Jun 27, 2011 6:08 pm
Current Project: Map editor
Favorite Gaming Platforms: nes,nds,snes,DOS,GBA,the Nd,android
Programming Language of Choice: c/++,javascript,Java
Location: Sweden,skåne,Tecomatorp

Re: java game programming?

Post 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 :)
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: java game programming?

Post 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.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: java game programming?

Post 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. ;)
User avatar
rolland
Chaos Rift Regular
Chaos Rift Regular
Posts: 127
Joined: Fri Dec 21, 2007 2:27 pm
Current Project: Starting an Android app soon
Favorite Gaming Platforms: PS1, N64
Programming Language of Choice: C++
Location: Michigan, US

Re: java game programming?

Post 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.
I'll write a signature once I get some creativity and inspiration...
Tom_leonardsson
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 62
Joined: Mon Jun 27, 2011 6:08 pm
Current Project: Map editor
Favorite Gaming Platforms: nes,nds,snes,DOS,GBA,the Nd,android
Programming Language of Choice: c/++,javascript,Java
Location: Sweden,skåne,Tecomatorp

Re: java game programming?

Post 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
Pornomag
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 41
Joined: Tue Jun 21, 2011 5:39 am
Programming Language of Choice: C++

Re: java game programming?

Post 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)...
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: java game programming?

Post 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...
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Tom_leonardsson
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 62
Joined: Mon Jun 27, 2011 6:08 pm
Current Project: Map editor
Favorite Gaming Platforms: nes,nds,snes,DOS,GBA,the Nd,android
Programming Language of Choice: c/++,javascript,Java
Location: Sweden,skåne,Tecomatorp

Re: java game programming?

Post 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
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: java game programming?

Post by Falco Girgis »

Android is open to C/++ now...
Post Reply