after asking a few questions at "Newless Clewbies" here's a game from me. The idea is influenced from the old BlueMax at C64 therefore I called it JBlueMax. But it is only a side scroller. There are still some minor bugs, but I would like to get some comments about the game.

1. If the server is running on Apache try creating a .htaccess file in the directory with the JNLP file. You may want to put other stuff in it (see various tutorials on the web), but definitely add the following:

Quote

AddType application/x-java-jnlp-file jnlp

2. In PHP you get the can't modify headers error if you have started to output the page before attempting to modify the headers. Even a carriage return in the file before the PHP tag will cause this. You have to start the file with the PHP and modify the headers as the first thing.

I have shown it to some friends for test uses and they reported no problems (but they're all using Windows I think).Could it be a problem of your processor speed? Which type of processor are you running? O

I had a similar problem when I tested in on my laptop running on batteries. As soon as I connected it to the electric network everything worked fine. Maybe I have to work over the movement routines. I'm modifying the movement depending on the time flow but maybe I have to check this routine.

I was testing on a 1GHz Powerbook. The Mac has been known to have issues with the speed of some graphics operations from Java... carefully choosing image types (make sure they are compatible with the native display) can help a great deal. I suspect that is the problem. Based on what I saw the game do, it seems it should be running faster on this machine.

I'm getting this error, which I assume means that this requires Java 1.5. However, usually I would expect to see some kind of major.minor version unsupported error. I'll try installing 1.5 alongside my 1.4 and see about running it.

C:\Documents and Settings\jwatson\My Documents\BlueMax>java -cp BlueMax.jar BlueMaxException in thread "main" java.lang.NoSuchMethodError: java.lang.System.nanoTime()J at org.ralfbauer.gamedev.sprite.MovingMaster.<init>(MovingMaster.java:25) at org.ralfbauer.gamedev.sprite.AnimSprite.<init>(AnimSprite.java:25) at Player.<init>(Player.java:16) at BlueMax.initializations(BlueMax.java:104) at org.ralfbauer.gamedev.game.Game.initGame(Game.java:64) at org.ralfbauer.gamedev.game.Game.<init>(Game.java:60) at BlueMax.<init>(BlueMax.java:85) at BlueMax.main(BlueMax.java:89)

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org