Tank Game DirectX

Hi everyone

I have been told that the reason the tank game didn’t work for anyone is because I was using the openGL version of Java3D. So i uninstalled Java3D, downloaded and installed Java3D with DirectX and then recompiled the game. If any of you have a spare minute could you give it another shot? I haven’t got the game working on anyones computer except my own and it is really frustrating.

The sliders have numbers now too.

The URL is http://www.outofgear.gotdns.com/jon/tankgame.php

and the manual is at:

http://www.outofgear.gotdns.com/jon/JARManual.txt

Jonathan

I was under the impression you wouldn’t have to recompile it. The use of OpenGL/DirectX is up to the Java3D platform and its only down to what the user has on the end machine.

Unless of course you’re being as smart as Herk and distributing the new open source Java3D via webstart?

Kev

OS X (10.3.4): Hangs after selected the number of players. :frowning: Not sure what it could be waiting for.

This new version doesn’t have the resolution problem that I had with the previous one. The frame rate is still low (~5 Hz I would estimate) however.

I’m using the OpenGL version of Java3D. I tried your previous version with the D3D version of Java3D, but it said it failed to initialize the renderer.

Do you have a screenshot of what it is supposed to look like? I only seem to get a texture on the ground, which leads me to suspect that perhaps I get software rendering?

There is a screenshot at:

http://www.outofgear.gotdns.com/jon/tankgame5.jpg

I get this error when I try to enter fullscreen mode:
Fail to create reference rasterizer 3D Device. -D3DERR_DEVICELOST

This is what I am doing in my main method. Can any of you see anything wrong with this?

http://www.outofgear.gotdns.com/jon/main.java

Jonathan

That tank looks strangely like a rhino ::slight_smile:

Do I have to explicity go off and install Java3D on my machine before I attempt to play this game from my PC.

If so, it would be great if you could implement the new opensource version which can be dynamically downloaded through Webstart as Kev indicated above.

I get this at the moment:

OK the tank game now auto installs java3D. I even uninstalled Java3D on my machine, then clicked the web start link to see if everything would work.

Jonathan

[quote]OK the tank game now auto installs java3D. I even uninstalled Java3D on my machine, then clicked the web start link to see if everything would work.
[/quote]
Just tried the webstart again and it didn’t install Java3D. Is there a new URL instead?

No the URL is the same. What OS are you using?

Jonathan

linux

worked for me on Win2k with no previous install of J3D

doesn’t work for me on a newly formated pc. Just java, nothing else.

DP

Still not working here either. (PC or Mac OSX)

But did the game work too zparticle?

Jonathan

Yes I was able to play it.