Tower Puzzle

I’ve written this puzzle game start:

http://www.cokeandcode.com/twist/twist.jnlp

However, I had a rough idea what I was doing but I’ve kinda lost my way and run out of things to do next. I guess this is what everyone says about writing a design doc first.

Anyway, if anyone has ideas, suggestions, problems, feedback, it’d be much appreciated.

Controls:

Left Mouse Drag - Rotate the rings
Right Mouse Drag - Rotate the tower

I’ve only tested on windows, so any reports of Linux/Mac would be good.

Thanks for any time spent,

Kev

as you already know, plays well on windows. One idea would be target cells. Cells with icons/logos you should strive to squish…maybe for more time, points, etc…

Updated,

Added some sound effects, a quick title screen, and the block are no longer infinite.

Thanks for the ideas MB, think i’ll be trying those out next.

Kev

Hi,
Brilliant game! I’ve just played a round… took me several times to figure it though. Maybe worth a few instructions. :slight_smile:

Chris

error loading nvidia something -tls.so

“Cannot load tls data”

and … crash!

Eeep, what the hell is tls ? Is that on a Mac?

Kev

Updated:

  • Added instructions
  • Added level of difficulty

(Incidently, you can mute the sound with ‘m’ if you need)

Kev

Ran fine on Windows. Didn’t start on my Linux box, gf3 with less than half a year old drivers and Java 1.5.

org.lwjgl.LWJGLException: Could not open ALC device
      at org.lwjgl.openal.AL.create(Unknown Source)
      at Twist.a(Unknown Source)
      at Twist.<init>(Unknown Source)
      at Twist.main(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.javaws.Launcher.executeApplication(Launcher.java:1098)
      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1045)
      at com.sun.javaws.Launcher.continueLaunch(Launcher.java:896)
      at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:468)
      at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
      at com.sun.javaws.Launcher.run(Launcher.java:165)
      at java.lang.Thread.run(Thread.java:595)

Ah ha, OpenAL fails… groovy.

Thanks for that.

EDIT: New upload, should be fixed.

Kev

[quote]Eeep, what the hell is tls ? Is that on a Mac?

Kev
[/quote]
Sorry … GF2, linux, nothing changed from what I use to test 90% of the time :).

EDIT: correction, I upgraded to recent nvidia drivers last week. No problems so far, but mayve I just haven’t got around to playng a LWJGL game yet? Might be a problem with the drivers, I guess…

[quote]Ah ha, OpenAL fails… groovy.
[/quote]
Heh groovy indeed, now it even hangs the java console :stuck_out_tongue:

I don’t have a soundcard in that machine, don’t know if it could be related to that.

Nope, sound should be ignored altogether now… any sign of anything visual at all?

Such a primitive game, so many problems! :slight_smile:

I’ll zip up a distro for linux, maybe from the command line will make some sense.

EDIT: http://www.cokeandcode.com/twist/linux/twist-linux.zip

Kev

nope no visuals, the Java console pops up with an exception for a split second and then greys out. Unfortunaly my brain aren’t fast enough to read the exception :slight_smile:

If you’ve got time, could you try the command line distro above. Should be able to run it with a:

java -cp twist.jar;lwjgl.jar Twist

Kev

Ok tested it, under java1.5 absolutly nothing happened. Tested it on 1.4.2_03 and there I got this

So I downloaded the lwjgl 0.95 and ran the test app and got this

[quote][Found 46 display modes
Moving to 100, 100
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
org.lwjgl.LWJGLException: Could not init GLX
at org.lwjgl.opengl.LinuxDisplay.nCreateContext(Native Method)
at org.lwjgl.opengl.LinuxDisplay.createContext(LinuxDisplay.java:176)
at org.lwjgl.opengl.Display.create(Display.java:530)
at org.lwjgl.opengl.Display.create(Display.java:507)
at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:66)
Unable to create window!, exiting…
[/quote]
Seems like this problem is in the lwjgl lib and not your game.

very nice little concept.
Only problem is that the game sometimes stop without any reason (time and colors left)

You’ve got the latest version I take it? The one with a difficulty level and a instructions at the start…

Thanks for the report, I’ll take a look. Does the game just stop all together (i.e. no response from escape or anything) or do you just stop being able to control it?

Thanks again,

Kev

When you [drag] the mouse out of the window, and it enters the window again, the [move] will behave as a [drag] until you right-clicked. Very annoying when you are playing the game very fast (and accidently move out of the window).

Fun game though :wink:

I’m aware of that one :slight_smile:

Problem is LWJGL doesn’t let me know when the mouse leaves/enters the window. Best thing I can think to do is grab the mouse and render a software mouse cursor. This means the mouse won’t leave the window tho which I feel is going to be even worse.

What I could do with an absolute mouse position relative to the screen.

EDIT: Or, I could grab the mouse when you press the button (make it invisible) and just use deltas on the mouse position, neat! :slight_smile:

Kev

What I mean is that the board of tiles is reset before the timer hits 0 or all the requisite for colors are met.
I have tried the latest version, yes.