NiGHTS 4k

NiGHTS 4k is a remake of the Saturn game NiGHTS Into Dreams in 4k.

http://www.triangularpixels.com/NiGHTS4k/Title.png

http://www.triangularpixels.com/NiGHTS4k/Flying.png


Go to the NiGHTS 4k webpage for the applet, webstart and source code links.

Use the mouse to move, and left click to select the level and right click to toggle antialiasing if things are running a little slowly.

Collecting blue chips and rings in succession extends your chain, and higher chains earn you more points. Try and chain together as much as you can over each of the three waves in a dream for the highest possible score. Feel free to share your high scores - I’m sure there’s cunning routes through some of the later levels that I havn’t figured out yet.

And special thanks to Kevglass, MatthiasM and everyone else on #lwjgl for helping to slim down those last few bytes. :slight_smile:

Love it! Top drawer.

Is this only for Java 1.6? The applet won’t open for me.

Yep:
java.lang.NoClassDefFoundError: java/awt/geom/Path2D$Float
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.javaws.Launcher.executeApplet(Launcher.java:1322)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1237)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1086)
at com.sun.javaws.Launcher.run(Launcher.java:105)
at java.lang.Thread.run(Thread.java:613)

Well that’s odd. I’m only using GeneralPath, which should be available in 1.4 and possibly earlier. I have no idea why (or where) it’s trying to reference Path2D from. ???

Awesome awesome awesome awesome…

Wait til ChrisM sees this!

Kev

Lovely graphics, and it’s very smooth.

What about some baddies though, it might spice it up?

Path2D is a java 6 thing, it’s meant to give float and double versions of GeneralPath. Maybe the jdk6 compiler uses it under the hood, have you tried compiling with java 5?

Updated so it works in 1.4 now, seems that JODE was doing something funny so it’s no longer used now. If you were having problems please let me know if this fixes it.

Incredible, what more can be said. Thnx for posting src too!!