Interesting game. I guess my only problem with it is the use of depth. I think depth would be better if it were a little more limited, like say 3 different depth positions, that way you would pretty well know if you were lined up with a character.
Unfortunately it gets like 2 fps on my machine.
Mac OS X 10.6 Safari Java 6.
[quote]Unfortunately it gets like 2 fps on my machine.
Mac OS X 10.6 Safari Java 6.
[/quote]
Is Java gaming basically dead on the Mac then? Does the Slick API perform better under OS X?
Is Java gaming basically dead on the Mac then? Does the Slick API perform better under OS X?
[/quote]
No, ask Kev Glass what he did to get past this. There is some method of drawing that is currently dead in applets, but you can do things a different way and it will still work.
That’s great! I like the way the characters rotate back up onto their feet - is this done using some Java image rotating/texturing API, or did you write custom code for it?
Cheers
The Game doesn’t work for me
It crashes with the following Exception:
Laden: Klasse a nicht gefunden
java.lang.ClassNotFoundException: a
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2354)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:680)
The first line just means “Loading: Class a not found”.
I’m also on Mac OS X 10.6 Safari Java 6.
[quote]I like the way the characters rotate back up onto their feet - is this done using some Java image rotating/texturing API, or did you write custom code for it?
[/quote]
CatWeazle,
The sprites are translated, scaled and rotated using the standard API. See http://download.oracle.com/javase/6/docs/api/java/awt/geom/AffineTransform.html and the associated methods of the Graphics2D class.