Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  (J)BlueMax  (Read 2280 times)
0 Members and 1 Guest are viewing this topic.
Offline bauerr

Jr. Member
**

Posts: 92


Java!!!!!!!!!!! !!!


« on: 2005-07-12 01:39:54 »

Hi,

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.

The zip-file can be downloaded here: www.ralf-bauer.org/java/BlueMax.zip.

There is also a JNLP-File but this don't work properly (problem of my provider I think): www.ralf-bauer.org/java/BlueMax.jnlp
I also found a hint how to implement the jnlp-file into a php-file, but this also doesn't work  Sad .  If somebody can tell we what's wrong with it, check this www.ralf-bauer.org/java/BlueMax.php.

So, please try it. Any comment will be appreciated.

Offline Alan_W

JGO Ninja
***

Posts: 734
Medals: 8


Java tames rock!


« Reply #1 on: 2005-07-12 03:18:35 »

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.

Best of luck

Alan

Time flies like a bird. Fruit flies like a banana.
Offline swpalmer

JGO Kernel
*****

Posts: 3438
Medals: 4


Where's the Kaboom?


« Reply #2 on: 2005-07-12 08:40:14 »

Tried it on OS X 10.4.1, Java 1.5:

It runs very slow.
When enemy planes drop bombs they often blow up on themselves.

But the main thing that made it not fun was the speed.

Games published by our own members! Go get 'em!
Offline zparticle

JGO Ninja
***

Posts: 597


Thick As A Brick


« Reply #3 on: 2005-07-12 10:46:24 »

Nice, that was fun.

Offline bauerr

Jr. Member
**

Posts: 92


Java!!!!!!!!!!! !!!


« Reply #4 on: 2005-07-12 10:47:37 »

@swpalmer:

You're the first reporting such a problem...

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.

Thanks for the reply.
Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #5 on: 2005-07-12 11:28:53 »

Worked fine here. Fun and nice (and 'Flash-esque') looking game.

Offline swpalmer

JGO Kernel
*****

Posts: 3438
Medals: 4


Where's the Kaboom?


« Reply #6 on: 2005-07-12 21:47:53 »

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.

Offline the2bears

Full Member
**

Posts: 111


Little Bear: Code Fu!


« Reply #7 on: 2005-07-22 19:45:47 »

Very nice, I quite like it.

Bill

the2bears - the indie shmup blog
Offline anarchotron

Full Member
**

Posts: 190


...precious bodily fluids.


« Reply #8 on: 2005-07-29 16:28:09 »

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 BlueMax
Exception 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)
Offline anarchotron

Full Member
**

Posts: 190


...precious bodily fluids.


« Reply #9 on: 2005-07-29 17:18:27 »

Ok got it running with 1.5

I like the background & sky art.  Very simple but quite nice.

The game is pretty hard Smiley

Also, on two occasions I had the game lock up when I collided with another plane.

Good work!
Pages: [1]
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

obsidian_golem 2012-05-23 10:14:50

Danny02 2012-05-21 17:10:34

Danny02 2012-05-21 17:07:10

Danny02 2012-05-21 16:56:12

davedes 2012-05-21 13:59:23

obsidian_golem 2012-05-20 20:28:41

darkjava55 2012-05-12 16:14:40

Ultroman 2012-05-12 09:36:05

Ultroman 2012-05-11 22:49:53

Ultroman 2012-05-11 22:20:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.168 seconds with 20 queries.