Java for game programming?


#1

Why is c++ the programming language of choice for developing games as compared to Java?


#2

Well, C++ is the main language of choice due to the fact that you can program just about anything you want with it. And the fact that most game companies use MicroSoft Visual C++…

Java is now being used to meet the demand of the rise in internet games. I’ve never really looked into the language but from what I can see - it’s worth learning if you want to jump into internet games…


#3

The main reason for using C++ is performance. Java is pretty fast nowadays, but due to issues with nonpredictive garbage collection and general issues with low-level access to certain APIs most “hardcore” game developers don’t use it.

Now, if you’re mostly planning on doing non-FPS networked games that don’t require triple-digit framerates and the ability shove a bazillion polys and textures down the throat of your video card, Java is good - and there is a lot of stuff available to help Java game programmers get going - for instance, http://javaboutique.internet.com/tutorials/Java_Game_Programming/ is a nice start.

If you’ve never written a game before, Java is a good place to start as you’re not having to deal with some of the trickier issues you do in C++.


#4

Java is gradually shedding it’s old reputation of being slow. Check out the new Xith engine, written on top of Java OpenGL (http://www.xith3d.org) - there’s some very impressive benchmarks!!!


#5

Re: DrQuincy.

I must salute you on your name and avatar. Quincy is one of my favourite shows!:bowdown:


#6

java is widely being used for game development,
especially for mobile game,
because of integration o J2ME and the new MIDP 2.o
its possible to develop great games for java enabled
GSM mobile instruments.


#7

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.