SwingPacman Beta6

Hi all,

I’ve released Beta6 of SwingPacman. Enhancements are:

[]New UI using CardLayout
[
]Ghost flee algorithm added
[]Map scrolling fixed
[
]Some new bugs for sure :slight_smile:

The home page is at http://users.skynet.be/christophe.keller, and the executable jar file is at http://users.skynet.be/christophe.keller/SwingPacman/SwingPacman.jar.

There is no Java Webstart available, sorry, I tried but my provider won’t let me add Mime types :-(.

Oh yes you need Java 1.5

Cheers

Christophe Keller

Can you use php/jsp or similar? If so, you can rename your jnlp to php (for example) and set the correct mimetype from within the script. Does not work for Opera, i think, but should be ok for IE and Firefox.

For example galapiat, if your server supports PHP, just use a PHP extension for the jnlp file, and put this at the top of the page:

<?php header("Content-type: application/x-java-jnlp-file"); ?>

Also, if you can add/edit a .htaccess file on your web directory (assuming your web server is apache, I don’t know for others), you can include the following line :

AddType application-x-java-jnlp-file .jnlp

Which is the same than editing the mime types files, but works only locally on the directory (and its children dirs) where is the .htaccess file

Lilian

Hi all,

My provider in fact gives a personal webspace of 50Mb but there is no server-side scripting available. I also already tried to upload a .htaccess file but this is also forbidden…

That being said, under Windows with the JRE 5.0 installed, it should suffice to click on the link with the self-contained executable jar for the game to launch. Not too hard I guess :-).

I tried it yesterday and it works with IE and Firefox, not with Opera tough

Are there other advantages that Webstart gives that everyone asks for it here? (just curious)

Cheers

Christophe

[quote]Hi all,

I tried it yesterday and it works with IE and Firefox, not with Opera tough

Christophe
[/quote]
works fine for me in opera you just need to add the mime type in the options!

The PHP tricks only work on linux and windows, since Apple’s approach to MIME types is stuck somewhere in the 1980’s, about 2 decades behind the rest of the world. Apparently.

Just upload it to JGF.

Ok when I get the time I’ll upload it to the JGF

Cheers

Christophe