7drl Success: Nightfall

91 views
Skip to first unread message

numeron...@gmail.com

unread,
Mar 17, 2012, 6:38:56 AM3/17/12
to
Screenshots and download at www.numeronreactor.com

What a terrible job collecting salvage out here in this asteroid field is. Its not only bleak and depressing finding long dead and frozen bodies floating in space, but there are plenty of other broken hulls out here exactly the same model as the ship you're now in. Its only inevitable you end up like that. And it does. You are lucky enough to crash land on an asteroid large enough to have... some kind of life. Or maybe the real lucky ones are the ones who died quickly back up there in the void...

So on day 5 I had to furiously backtrack my real-time sunset mechanic, but it turned out really well and Im very happy with the final product. I guess I should have seen it coming really, the up-down up-down tapping that is typical for controlling roguelike characters is really not suitable when applied to a time constraint. I left it in as a game mode though because well Id done all that work so why not. The inventory set up is still mostly useless due to the changes but whatever.

Everything that The Man in the Mirror lacked, I think this game has. Its much larger and has very rich very procedurally generated levels. The start still has a story sequence, but if you're over it it can be skipped, and while there are 2 guys to talk to at the start, you can ignore them and run straight out into the game.

My scope this year was perfect. I didnt have to cut anything, and I even had time to add a few things like the starfield in the story and the lasers that appear when shooting/teleporting. I also barely had to make any changes to the base engine, which I guess is a testimate to how good its finally becoming.

This is definatly one of my favourate times of the year, and as every year, I put all the effort I possibly could into this one week. Every year I think I improve so much. I hope you enjoy this years produce, and let me know what you think.

-Numeron



Known bugs:
1) The game can crash if you drop too many items in the one place, but you will likely never drop anything all game let alone 11 items on the one tile.
2) If the window loses focus and then regains it, there is a rare chance that the keys stop working...

JO

unread,
Mar 17, 2012, 6:43:25 AM3/17/12
to
Hey man I'm getting a .404 error on that link...

numeron...@gmail.com

unread,
Mar 17, 2012, 7:19:29 AM3/17/12
to
On Saturday, 17 March 2012 21:13:25 UTC+10:30, JO wrote:
> Hey man I'm getting a .404 error on that link...

Im not really sure what to say, the link works on both my home and work computer.

Anyone else having the same?

-Numeron

edenicholas

unread,
Mar 17, 2012, 7:40:13 AM3/17/12
to
Works for me.

Radomir Dopieralski

unread,
Mar 17, 2012, 7:04:14 AM3/17/12
to
On 2012-03-17, numeron...@gmail.com <numeron...@gmail.com> wrote:

> Screenshots and download at www.numeronreactor.com

sheep@ghostwheel:~/nightfall$ java -jar nightfall.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at org.lwjgl.Sys$1.run(Sys.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:82)
at org.lwjgl.Sys.<clinit>(Sys.java:99)
at org.lwjgl.opengl.Display.<clinit>(Display.java:130)
at slickUI.SlickUI.<init>(SlickUI.java:46)
at slickUI.SlickUI.init(SlickUI.java:86)
at game.Game.run(Game.java:121)
at game.Game.main(Game.java:90)
... 5 more
sheep@ghostwheel:~/nightfall$ java -version
java version "1.6.0_23"


--
Radomir Dopieralski, sheep.art.pl

Radomir Dopieralski

unread,
Mar 17, 2012, 7:19:58 AM3/17/12
to
On 2012-03-17, Radomir Dopieralski <ne...@sheep.art.pl> wrote:
> On 2012-03-17, numeron...@gmail.com <numeron...@gmail.com> wrote:
>
>> Screenshots and download at www.numeronreactor.com
>
> sheep@ghostwheel:~/nightfall$ java -jar nightfall.jar
> Exception in thread "main" java.lang.reflect.InvocationTargetException

After installing liblwjgl-java (you could at least mention in the readme
that it is required), I get a different error:

sheep@ghostwheel:~/nightfall$ java -jar nightfall.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.NullPointerException
at slickUI.SlickUI.access$1(SlickUI.java:58)
at slickUI.SlickUI$1.run(SlickUI.java:103)
at java.security.AccessController.doPrivileged(Native Method)
at slickUI.SlickUI.init(SlickUI.java:90)
at game.Game.run(Game.java:121)
at game.Game.main(Game.java:90)
... 5 more

--
Radomir Dopieralski, sheep.art.pl

numeron...@gmail.com

unread,
Mar 17, 2012, 8:06:31 AM3/17/12
to Radomir Dopieralski
On Saturday, 17 March 2012 21:49:58 UTC+10:30, Radomir Dopieralski wrote:
> On 2012-03-17, Radomir Dopieralski wrote:
Hmm, the lwjgl.jar is packaged inside the nightfall.jar, so it should be picked up. I put it all together at work and tested it at home before announcing, so possibly some other game in the past has put lwjgl into one of my paths on my home computer or something. I think the same error can occur if the system files (DLL's, SO's or JNILIB's) in the zip are not accessable since these are the natives called by the lwjgl.jar - did you completely extract the folder before running?

As for the second error, there was a problem running a privilaged section of code which I didnt originally author. Im not sure what it does exactly. I guess since my source is at work all I can ask is do you have admin access over the box you are trying to run it on? There is probably an access violation (like lwjgl trying to read some system property) thats going awry. Unfortunately I cant really look into it closely until I return to work on Monday. Sorry!

-Numeron

numeron...@gmail.com

unread,
Mar 18, 2012, 9:24:50 PM3/18/12
to Radomir Dopieralski
On Saturday, 17 March 2012 21:49:58 UTC+10:30, Radomir Dopieralski wrote:
> On 2012-03-17, Radomir Dopieralski wrote:
Ok, Ive determined the problem. The game failed to create the display window with the given pixel format (8 bit depth, 8 bit alpha, 2 antialiasing samples), so dropped into a section of code I've never tested where it attempts several recreations without antialiasing and then without alpha. There was a bug in there which is now fixed, so it might work for you if you try again, but failing to create the original display window is still not good. It indicates a problem with your graphics card and/or opengl compatability, to which I can only suggest the cop-out fix of ensuring your drivers are up to date.

Still no idea on why you had to get lwjgl seperately, Ive since tested it on several other computers without issue.

-Numeron

Walter Landry

unread,
Mar 19, 2012, 11:12:57 AM3/19/12
to
numeron...@gmail.com writes:
> Screenshots and download at www.numeronreactor.com

I also had to install liblwjgl (Running Debian 64 bit testing, if that
helps). I was able to start the game and move around a bit. But the
game froze when I got to the first big room. My java version is

$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-3)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Cheers,
Walter Landry

Josh Ge

unread,
Mar 19, 2012, 11:27:05 PM3/19/12
to Radomir Dopieralski
Looks like a neat game, but I'm having problems running it, too: Crashes after the loading screen with an EXCEPTION_ACCESS_VIOLATION (0xc0000005).

Specs: Win7x64, JRE 7 (latest), running game with "java -jar nightfall.jar"

numeron...@gmail.com

unread,
Mar 20, 2012, 1:59:46 AM3/20/12
to
Seems like a lot of people have been having trouble, and I may have found a solution for some.

I used Eclipse to package the jar up, and it puts lines into the manifest which are not part of the jar spec from Oracle. I removed the lines (specifically a wierd classpath one) and replaced them with normal entries. The lwjgl, slick and ini4j jars which nightfall is dependant on now sit beside rather than inside but thats no big deal.

Other than that, graphics initialisation problems of varying flavours I have no experience with and low understanding of... It seems ATI OpenGL drivers are generally more troublesome. I think I can only really recommend that you ensure your drivers are up to date, and meanwhile I'll probably move onto some other graphics platform because a release using Slick always seems to wind up terrible.

-Numeron

Ido Yehieli

unread,
Mar 20, 2012, 4:13:12 AM3/20/12
to
On Tuesday, March 20, 2012 6:59:46 AM UTC+1, numeron...@gmail.com wrote:
>
> Other than that, graphics initialisation problems of varying flavours I have no experience with and low understanding of... It seems ATI OpenGL drivers are generally more troublesome. I think I can only really recommend that you ensure your drivers are up to date, and meanwhile I'll probably move onto some other graphics platform because a release using Slick always seems to wind up terrible.
>


I used lwjgl for my 2009 7drl and had similar issues - opengl drivers are a pain in the butt and many users don't have good ones installled...

numeron...@gmail.com

unread,
Mar 21, 2012, 2:17:09 AM3/21/12
to
Could you make a recommendation with the consideration that I'm not ready to move off of java just yet? OpenGL seems to be at the core of every graphics engine out there...

-Numeron

corremn

unread,
Mar 21, 2012, 6:23:40 AM3/21/12
to
On Saturday, March 17, 2012 9:08:56 PM UTC+10:30, numeron...@gmail.com wrote:
> Screenshots and download at www.numeronreactor.com
>

Gave it a go. At first before playing I thought that the sunset idea was going to be bad. But it works alright, I guess because there is enough roguelike aspects to make it fun I dont mind the mad rush at the start :)
Yes you engine is certainly doing the job, quite the change of pace than last year (pun intended). I will probably give this a better go later, but from what I see it looks good.

Good job.
Reply all
Reply to author
Forward
0 new messages