wood burning stoves 2.0*
The moose likes Game Development and the fly likes Does java have future in developing game? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Does java have future in developing game?" Watch "Does java have future in developing game?" New topic
Author

Does java have future in developing game?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
I want to know, how is performence of java 1.4 with hotspot, compared to C++ ? Somebody have the serious test ?

In the real world, would the company use java to develop real commercial game ? how complicated game can be developed using java ? please give me an example and its web link, I want to take a look.

Does java have future in developing game?

please show me the java powerful teeth in game development.

Thanks
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

You might want to take a look at the following links:

http://community.java.net/games/
https://jogl.dev.java.net/
http://www.lwjgl.org/
http://java.sun.com/developer/technicalArticles/games/gdc2004.html
http://www.amazon.com/exec/obidos/tg/detail/-/1584503262/qid=1080877238/sr=1-3/ref=sr_1_3/102-9296434-4357768?v=glance&s=books


GenRocket - Experts at Building Test Data
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Howabout these!
http://www.cnjm.net
http://www.pcgames.com.cn/netgames/mobile_games/0403/285353.html
[ September 12, 2004: Message edited by: Roseanne Zhang ]
Anton Golovin
Ranch Hand

Joined: Jul 02, 2004
Posts: 476
My opinion would be Java has no future in time-critical applications. It is a language perfectly suited for large-scale systems where an extra second is no object.


Anton Golovin (anton.golovin@gmail.com) SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]
James Swan
Ranch Hand

Joined: Jun 26, 2001
Posts: 403
My understandinging is Java perhaps does not play such a big role on the client side, but is hugely influencial on the server side, in particular for MMORPG applications (eg. EverQuest, World-ofWarcraft etc), and all the supporting infrastructure involved.

James.
Ray Muirhead
Ranch Hand

Joined: Jun 11, 2004
Posts: 44
What is the potential in coding larger games in Java, and then doing the time-critical sections in C / C++ ?
Warren Dew
blacksmith
Ranch Hand

Joined: Mar 04, 2004
Posts: 1332
    
    2
James Swan:

My understandinging is Java perhaps does not play such a big role on the client side, but is hugely influencial on the server side, in particular for MMORPG applications (eg. EverQuest, World-ofWarcraft etc), and all the supporting infrastructure involved.

The one possible downside for these applications is garbage collection latency. A tenth of a second delay for garbage collection is probably unacceptable for a MMORPG. A millisecond would be fine. Not sure about a hundredth of a second.

Does anyone know where current JVMs stand on garbage collection delays?
Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
Hi, I read the article whose web link is provided by Shrieff. It said , in the market there is a pure java game "stars war -- Law&order". Anybody has tried it before? How it looks like ? what about performence ?

The article also said, the java slow speed is not a bottleneck with help of hotspot. Even the java speed is not a topic in GDC.

For me, I hate C / C++. Their syntax is not my type. But I love the computer graphic , muiltimedia and virtual simulation. I can't go back to C. So , I wait, wait. The JOGL is really good news for me.

Before when I was in the school, I go to a lecture. The teacher, from Parson School of Design, show us a demo of Boeing airplane. Say, Boeing want to sell the airplane, they need demo the good quality to customer. So they develop the software. Good music, any room you can go, hang out in the airplane. Very real effects.

That is a SHOCK. that is five years ago. So I always wonder, Java can do that ?

Could you tell me, Java can do that ?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Edward, Java can do a lot of things. Whether it does it better or worse than another language depends on a lot of variables.

Now, when we talk about games and 3D graphics, you have to understand something. Java does not have 3D capabilites by default build into the API. You mentioned JOGL. JOGL is a wrapper around native Opengl calls. So technically, using JOGL, you can do 3D graphics just as well as any other language. Even if you use C++, you still are making Opengl calls which are rendering your 3D graphics for you. Where the language comes into play is creating your datatypes, user input controls, math, etc.

On the other hand, let's say we are talking about 2D and not 3D. Then, Java's API can actually soar because of Java2D, in my opinion.

So just keep in mind where the separation is between Java being able to do something and using Java to do something.
Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
Originally posted by Gregg Bolinger:
Whether it does it better or worse than another language depends on a lot of variables.

the separation is between Java being able to do something and using Java to do something.


Great ! Could you give us more "variables" you mentioned above ? If the java is really "able to do something", so what limits us to "using java " to do something, say, game development ?

Thanks
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Edward Chen:
so what limits us to "using java " to do something, say, game development ?

Thanks


Nothing really that I know of. I think Java is great for games. I don't think performance is an issue. Especially with the power of PC these days. I'm sure that is an arguable statement though.
ty shock
Greenhorn

Joined: Sep 09, 2004
Posts: 7
I'd rank deployment up there as one of the possible disadvantages. Even with webstart, the user still has to have the jre previously installed. The other day i installed webstart from sun's site on a friends computer, and it didn't work correctly. This is something that is a problem, especially with non-technical endusers.

I *think* alienflux seemed to have the jre wrapped into the install package. I haven't researched this, but I've read that you aren't allowed by law to ship the jre with your product. Anyone know how this works?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by ty shock:
I'd rank deployment up there as one of the possible disadvantages. Even with webstart, the user still has to have the jre previously installed. The other day i installed webstart from sun's site on a friends computer, and it didn't work correctly. This is something that is a problem, especially with non-technical endusers.

I *think* alienflux seemed to have the jre wrapped into the install package. I haven't researched this, but I've read that you aren't allowed by law to ship the jre with your product. Anyone know how this works?


Not sure about how Sun fills about shipping the JRE with the app. Although, while I agree deployment is a factor, Java WebStart is the best deployment method and JWS does a pretty good job of detecting if Java is installed and running a JRE installer if one is not present. This configured in the JNLP file of course. Dial up users might not like it, but broadband users would have no problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does java have future in developing game?
 
Similar Threads
Looking for a SIM game developer and an artist to partner with - posted from Kampala-7th Jan 2011
Sounds
LAN help
Need Help
store applet session using servlet