Java games can only be indie games

Yep its a provocative title, but it got your attention.

Well I came to think. Java provides many advantages in the language itself. But the language in wich you write a game, is it realy important when it comes to games?

The VM cannot run on an X-box/Playstation. So thats 90% of the market down the drain.

Many FPS games sell them on speed and super fast optimizations. The VM prevents a Java developer from doing something like that.

What I am thinking is that the community should define in what style of games Java is best suited for and exploit that.

Here is my two cents:

Java is best suited for online PC games that go through changes all its life. This is games where extensions are added or rules are tweaked constantly. Here Java gives the developers the advantage of OO and security, so he can quickly release new patches/extensions.

Agreed. However, this is the current state, not the future state.

In todays world the FPS game seems to be king. However, nearly every single piece of “game selling” special effect is done in hardware. At this point it makes very little difference how you get at it. The VM doesn’t prevent it at all.

In addition, PC games don’t generally sell on graphics quality anymore. Otherwise anyone picking up the UT engine could just release any old game and expect a best seller. It doesn’t work that way. Games get reviewed and get reputations. They sell mostly based on that.

Now this is a good idea! However, this community is largey made of Indie developers and hobbiests. They don’t have the room to attempt this. Hobbiests do what interests them. Indie developers do what they think they can sell while still being able to develop using a small amount of resources.

Very very true. However, all games are moving in the direction. Developers (in all domains, not just games) are moving away from writing bespoke systems. Most games are based on plugging game engine elements together and adding bespoke content (story, graphics, etc…). Writing any code that you’re hoping to reuse in the future is best done in a modern language that provides the very features that Java is well known for.

I think the key point to realise here is that you (like many others here) are in at the start. The world of games development is getting more and more complicated. As this happens games developers currently will either change the way they write games or die out (much like in other domains in the past). This is directly comparable to the changes that took place as we moved from ASM->C.

I think my final procrastinating note has to be that these things take time. It might be 5+ years before we see a real move over, but it will happen. Just be glad you’re here at the at the begining.

Kev

What about the professional Java games that have already been done? What about games that are designed for a computer not a console? (They still exist you know.)

[quote]What about the professional Java games that have already been done? What about games that are designed for a computer not a console? (They still exist you know.)
[/quote]
Ahhh the fabled “computer” game. I saw one once back in '93. Remember incredible claims require incredible evidence.

:smiley: ;D :wink:

Average FPS for Auriga3D with most levels is 200 to 400; low is 150 (and this is on an Athlon 1900 w/ Radeon 9700Pro; which the comp is arguably on the borderline of an older machine). :slight_smile: I’ve still got more optimizing to do… though granted I still have to implement a full Q3 shader system, but I built the engine in a component oriented manner where rendering paths may be easily exchanged; along with several other areas of the framework (like the game itself!)… I’ll be doing a render path that utilizes OGLSL heavily for instance.

As Kevin mentioned… A large majority of the features are hardware related.

Hope to have the code in CVS and publically available in August…

Little bummed I missed the game competition… Good design won me over instead of rushed “crap”…

Well they’re the only kind of video game I ever buy. I don’t own a console and would never buy one. :slight_smile: I realize the market is significantly smaller… but there are many PC/Mac-only titles available (and worth playing) that will never come near a console.

The market is currently smaller. It’s predicted to grow, massively, over the next 5 years.

Cas :slight_smile:

About your title… That’s absolutly wrong ! There already are some java games in the market ! Examples ?

Chrome, which is an absolutly wonderful FPS.
Vampire, the Masquerade (only the core part is written in Java, but it’s an old game).

And there will be others…

Chman

I remember reading about Vampire, as an example of Java developed games. The advantage of Java was lost due to the trouble of combining native and Java.

Anyhow. The consoles wont go away as easy as that. There are still many playstation 1 around and PS 2 will stay on for many years to come. Professional game companies have whole departments specialising in PS2 assembler, just to get performance out of the box.
Besides who here thinks that MS would allow a VM on X-box

So I still think my point about that part of the market being off limit to Java is valid. (unless we somehow get a VM running on an PS/x-box.

True indie developers do what they feel like. But they also all want todo it is a living and as of now. PC have the advantage of being connected, (as opposed to most game boxes).

The biggest problem for most indie developers seems to be networking. Just look at the TCP/UDP thread in the networking forum. One big flame.

Perhaps experiences could be better shared. Code snippets and the like…

Now you appear to be simply trolling…

Yes, they just hit 100 million mark. Approximately 30% each to Europe, USA, Japan (more in Europe than in USA, apparently…).

That sounds like a distortion of a statistic. Do you have any kind of figures for this? My experiences would suggest you are talking about a very small minority. Console performance is ALWAYS a massive problem due to the way that consoles are designed and developed. It’s not that companies really need the performance, its that the console manufacturers don’t provide developer libraries, and the studios have to write their own.

IIRC one of the effects of the Sun/MS seattlement was to pave the way for such things…

Then you haven’t seen the stats for PS2 and Xbox net adapers - it’s running at a comparable level of penetration to broadband on home PC’s!

I don’t believe you’ve read the thread if you say that. I don’t see any signs of a flame in there.

Perhaps I am trolling. But my point is still valid. We have to look at what advantages there are and exploit them. I am trying to summon them up.

I dont have any figures about the assembler deps. I only know that the company behind the Hitman games have one. But since you yourself state that there are provided no default libaries, we can safely assume that this is a major issue?

So a VM machine might come to PS, why?. Who would be interested in spending the ressources making one. There would need to be a customer base to support the cost of making one. How long would it take to develop a VM that runs good enough. (How long did it take sun?)

I About the TCP/IP versus UDP. Forget it I have only read the first say 50 post so I cannot argue to much about that. I only got the impression that there were alot of opinions and “I’ve heard that…”, not “In my last game we used java serialisation + simple TCP/IP it worked great”

[quote]Anyhow. The consoles wont go away as easy as that. There are still many playstation 1 around and PS 2 will stay on for many years to come. Professional game companies have whole departments specialising in PS2 assembler, just to get performance out of the box.
Besides who here thinks that MS would allow a VM on X-box
[/quote]
How about some one create a console that uses Java as it’s native language. So the VM is on a chip and with that, will run just as fast as any other console.

[quote]How about some one create a console that uses Java as it’s native language. So the VM is on a chip and with that, will run just as fast as any other console.
[/quote]
It seems like the obvious thing to do, doesn’t it? It’s been suggested many times, but no one from Sun has commented on the idea, as far as I’m aware.

Sun must still have some UltraSPARC engineers in-house - surely they could bang heads on a hardware implementation of the Java VM?

I’ve just had the most insane feeling of deja vu

Cas :slight_smile:

I think that the 90% statistic is incorrect. Somebody “tweaked” the poll/sales figures on that one.

AFAIK the PS (not 2) runs a special variant of a MIPS cpu. now look what the classpath people say about this:
“But, only 12 FAILs for libjava 3.3.3 on mipsel-unknown-linux-gnu! All this hacking is paying off.”
(from: http://classpath.wildebeest.org/planet/)

now you know who is interested but do not expect it to be useful (for games) until some years, but the possibility is there. btw: CP is going to bring 1.0 this year … I am praying already that this can be achieved :slight_smile:

The ‘solution’ one can present here may be a bit different from what you wanted (no VM on a chip) but the result will be the same: jnode.sf.net

Lend some 1000 hands to both projects and the world will be a better place. :stuck_out_tongue:

Here’s something pretty close to a pure VM on a chip -

http://www.parallax.com/javelin/javelin_stamp.asp

I remember coming across another that was similiar, but can’t recall the name of it. :frowning:

You might find this interesting as well -

http://www.sun.com/microelectronics/picoJava/

It seems as though much of java’s performance is based on the OS the VM is running on. It seems as though I can let a java app sit on my linux box longer than I can my windows. IE - If using eclipse, I minimize the app, run other apps for awhile, the maximize eclipse to use it again. Windows takes alot longer to get things ‘running’ again. Not sure why, though I’ve got theories.

As a theory, far flung or not, I would think that a JVM running on the Amiga OS 3.5 or higher, would be very responsive, relative to a windows box. The Amiga had far less ‘junk’ going on and didn’t use swap space on a drive, unless you had a special setup. Granted the architecture is pretty much dead and the hardware was never fast enough to do this, but hey, I loved my Amiga and love java, so why not both!?

Regards,
Aaron R>

[quote][…]IE - If using eclipse, I minimize the app, run other apps for awhile, the maximize eclipse to use it again. Windows takes alot longer to get things ‘running’ again.[…]
[/quote]
Swapping. And yes, it’s window’s fault (or to say it nicely - it’s window’s usual behaviour).

Cas already complained about this over at the Performance Tuning board.

I am not sure whether this Javelin thingie is comparable to a JVM:

"The Javelin Stamp™ module is a 24-pin DIP module programmed in a subset of the Sun Microsystems Java language. "

This means that you can use a language quite similar to java to program it. Nothing is said that this thing interprets bytecode or provides J2SE APIs.

picoJava and his brother microJava are old stuff and I am not sure where it is really used. That does not mean I find them useless. Some years ago when JVMs where a bit slower I hoped that once in a time regular computer mainboards may feature a Java-capable processor …


You mentioned AmigaOS: I am a great Amiga fan too. For historical reasons I bought an old A1200 some time ago (ebay) and did some Assembler programming on it (68000s are so cute!). Anyways there are some people working on a Free (as in Freedom) JVM for it: jamiga.org - it depends on classpath too.

[quote]I remember reading about Vampire, as an example of Java developed games. The advantage of Java was lost due to the trouble of combining native and Java.
[/quote]
Really? I wonder why more and more games are using Java for scripting then? Someone tell those guys…QUICK! :wink:

[quote]Anyhow. The consoles wont go away as easy as that. There are still many playstation 1 around and PS 2 will stay on for many years to come. Professional game companies have whole departments specialising in PS2 assembler, just to get performance out of the box.
[/quote]
Really? Which companies are you referring to. I guess Sony should just stop developing their performance analysis suite if so many people are working on the problems already. :slight_smile:

[quote]Besides who here thinks that MS would allow a VM on X-box
[/quote]
Who would have thought you would see this?

Don’t underestimate where Java will show up next. We are going to suprise you :slight_smile:

-ChrisM