Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  (J)BlueMax  (Read 3343 times)
0 Members and 1 Guest are viewing this topic.
Offline bauerr

Junior Member




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


« Posted 2005-07-12 07: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 Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #1 - Posted 2005-07-12 09: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 Coder




Where's the Kaboom?


« Reply #2 - Posted 2005-07-12 14: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! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline zparticle

Senior Member




Thick As A Brick


« Reply #3 - Posted 2005-07-12 16:46:24 »

Nice, that was fun.

Offline bauerr

Junior Member




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


« Reply #4 - Posted 2005-07-12 16: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 Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #5 - Posted 2005-07-12 17:28:53 »

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

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #6 - Posted 2005-07-13 03: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

Senior Member


Projects: 2


Little Bear: Code Fu!


« Reply #7 - Posted 2005-07-23 01:45:47 »

Very nice, I quite like it.

Bill

the2bears - the indie shmup blog
Offline anarchotron

Junior Member




...precious bodily fluids.


« Reply #8 - Posted 2005-07-29 22: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

Junior Member




...precious bodily fluids.


« Reply #9 - Posted 2005-07-29 23: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]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (38 views)
2014-07-18 03:55:21

Zero Volt (36 views)
2014-07-17 20:47:54

danieldean (29 views)
2014-07-17 20:41:23

MustardPeter (32 views)
2014-07-16 20:30:00

Cero (47 views)
2014-07-15 21:42:17

Riven (48 views)
2014-07-14 15:02:53

OpenGLShaders (37 views)
2014-07-14 13:23:47

Riven (37 views)
2014-07-14 08:51:35

quew8 (33 views)
2014-07-13 10:57:52

SHC (70 views)
2014-07-12 14:50:04
HotSpot Options
by dleskov
2014-07-08 00:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-13 21:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-13 21:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 08:13:37

HotSpot Options
by Roquen
2014-05-15 06:59:54

HotSpot Options
by Roquen
2014-05-06 12:03:10

Escape Analysis
by Roquen
2014-04-29 19:16:43

Experimental Toys
by Roquen
2014-04-28 10:24:22
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
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!