Rooms- A Poor Attempt at a Game

I’m not going to big this up or anything, it’s pretty crappy, but if for some reason you want to play it, you can find it here:
http://dereksewell.co.uk/projects/Rooms.zip
I guess a screenshot is in order:

The ZIP is corrupt for me :frowning:

Gah, I’ll re-upload. Sorry :frowning:

It works now :slight_smile:

That was creepy!! I gave up after repeatedly dying in the second level. I love the sound effects, especially “I will eat youuuuuuuuuu” :stuck_out_tongue:
The screen flickered a lot and sometimes there were white streaks going all over the place :S

Great job!!

I get the same flashing effects and random white lines from time to time (Core i7 2600, Radeon 5870, Windows 7 64bit, Java 7). On the second level, black vertical lines were added to the mix. In addition, i somehow managed to break to the collision detection in level 2 and could pass freely through the walls: http://jpct.de/stuff/rooms.jpg

The white steaks and flickers are meant to add to the atmosphere, whilst the black lines are a graphical bug.

If you open up the .jar file you can modify the .png’s the maps are loaded from :stuck_out_tongue:

The black lines seem to be seams between tiles. Threading issue or rounding errors?

After unzipping and trying to run the jar:


java -jar Rooms.jar -Djava.library.path=.
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.lwjgl.DefaultSysImplementation.getPointerSize()I
	at org.lwjgl.DefaultSysImplementation.getPointerSize(Native Method)
	at org.lwjgl.Sys.<clinit>(Sys.java:100)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:130)
	at org.newdawn.slick.AppGameContainer$1.run(AppGameContainer.java:39)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.newdawn.slick.AppGameContainer.<clinit>(AppGameContainer.java:36)
	at states.StateHolder.main(StateHolder.java:38)

Running Snow Leopard on a 2010 MacBook Pro.

java version “1.6.0_26”
Java™ SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
Java HotSpot™ 64-Bit Server VM (build 20.1-b02-384, mixed mode)

-Djava.library.path=“C:\full path to natives with support for spaces”
???
I think he sets the library path in his program too though, as it works by just double-clicking/running it without a user defined path.

Duly noted. I tried with just java -jar Rooms.jar and had the same output.

@loom_weaver
That’s a problem with LWJGL on some Macs. Try using the latest nightly build of LWJGL instead. (Beware, the OP puts the lwjgl files in the jar so you will have to unzip, replace, and re-zip)

white steaks?! where?!? I’m hungry!! :stuck_out_tongue:

The flickering isn’t a good way to add to the atmosphere since it gets annoying after a while.

Instead of unzipping, you could just open it with winrar, and then head into the assets folder and modify the png’s there.

Nom. I’m hungry.