SECTOR91.com: Java/SVG Games

OOh, no he’s right, it’s the high contrast white on black that hurts. Consider using a very dark grey shade for the background and a slightly fatter, nicer font in an off white colour.

Cas :slight_smile:

Well, I can only do so much to change it, because a lot of the site and even the games was designed with the color scheme in mind. But I can do one thing: I’ve changed all of the text to a more subdued gray, and made the links a darker red. (This also allowed me to add some neat effects with different shades of red and gray.) Take a look at it and see if it helps at all. You may need to refresh the page or even clear your browser cache to see the difference.

Tried Project Gamma as an applet but;

java.lang.NoClassDefFoundError: org/apache/batik/swing/svg/SVGUserAgent
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
	at java.lang.Class.getConstructor0(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at sun.applet.AppletPanel.createApplet(Unknown Source)
	at sun.plugin.AppletViewer.createApplet(Unknown Source)
	at sun.applet.AppletPanel.runLoader(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

W2K Java 1.5

Ah yes, that’s rather easier on the eye.

Cas :slight_smile:

You need 1.6 or higher. 1.5 will not work.

I haven’t looked at any of the games, but why did you compile to 1.6? How many non-programmers do you think would have downloaded 1.6 by now? I know it’s not that hard to just download 1.6, but are the improvements you get by using 1.6 really worth that much?

The improvement that I get is the usage of pack200 for compression. Without pack200, Batik SVG Viewer (Gamma’s graphics library) is a 4 MB download. I could remove pack200 and compile to 1.5, but the initial load time and the strain on my server would be incredible.

What’s wrong with 1.5’s pack200?

1.5 has pack200? Well, whatever the problem is, pack200 doesn’t like 1.5, at least the way I use it. But it doesn’t matter; I’m working on a version detection script as we speak that will prompt 1.5 or 1.4.2 users to either download 1.6 or use a low-speed version of Project Gamma without pack200, and that should solve these problems.

As far as I know, yes. The docs refer to it and the exe files are in the bin directory. But I’ve never used it though.

Okay, I have now added a version-checking script, and Project Gamma should now be compatible with older versions of Java. However, I don’t know this for sure, because I don’t have a computer with an older Java version to test it on! Test the new version check system, and see if it works. Just click the “Play (Java Applet)” button on the Project Gamma page like you usually do, and if you don’t get any errors, it’s working properly. You may have to clear your browser cache if you’ve played it before.

Plugin-detection is somewhat of a black art, that isn’t easy to solve at all!

Luckily somebody did the hard work for us:
http://www.pinlady.net/PluginDetect/PluginDet%20Generator.htm

To give you an idea, these are the stats from a site I control:

[tr][td]no java or 1.3 and lower[/td][td]–>[/td][td]31.03%[/td][/tr]
[tr][td]java 1.4[/td][td]–>[/td][td]6.60%[/td][/tr]
[tr][td]java 1.5[/td][td]–>[/td][td]13.43%[/td][/tr]
[tr][td]java 1.6[/td][td]–>[/td][td]48.33%[/td][/tr]

(21.000 unique visitors)

Is that 21k visitors, or 21 point zero zero zero? :slight_smile:

Kev

Sorry for messing up notations

Ofcourse I meant 21 unique visitors… :stuck_out_tongue:

Still no good;

Running Java 1.5.0_15 by Sun Microsystems Inc.
java.lang.UnsupportedClassVersionError: Bad version number in .class file
	at java.lang.ClassLoader.defineClass1(Native Method)
        ....

Okay, I guess I did need to recompile Project Gamma… This is what I get for not having the right systems to test on. :stuck_out_tongue:

That’s honorable in my humble opinion.

I added your game (project gamma) into the Java Game Tome. Could you provide a JNLP link for the other games? It would be better for the users.

Unfortunately, I designed the downloadable games on SECTOR91 before I knew that JNLP existed, and as such they are dependent on way too many external files to work as JNLPs in their current states (according to my very limited and probably incorrect knowledge of JNLP). My current project, Project Delta, will be available as a JNLP when it is released, though.

Also, what is this “Java Game Tome” that you speak of?

Ok for your games. I will do what I can with what I have.

The Java™ Game Tome is a website whose main objective is to list all the games written in Java and really “usable”. The database has not yet been launched but I prepare a list of more than 60 games. On this website, it will be possible to create a profile, to submit games, updates on the games, news on the games, to rate the games, to look for games using numerous filters. When you submit a game, you will also be able to provide a screenshot and a short movie if you want. This kind of website already exists for Flash games, a few exist for Java but are not well known (or are only in French for example) as far as I know. I found an english website allowing to do something like our Tome but only premium members that pay could rate a game… Consider that our Tome looks like www.happypenguin.org, the Linux Game Tome.