Would like some feedback again

Hi there,

I put an early version of my game using LWJGL online at http://www.mycgiserver.com/~movegaga/gltest1.jnlp as a web start app.

I’m sorry but currently it’s windows only.

The controls are:

A - accellerate
Z - go slower
cursors - steer
space - fire
enter - start
esc - leave game

What I’m interested in is:

  • What’s the fps you’re getting
  • What’s your set up? (Windows version, JRE version, Videocard, memory etc)

Do you have the problems I encounter:

  • When using web start in combination with LWJGL (or more specifically if there has been a swing windows opened before a LWJGL fullscreen app is started, you’ll have to 1st close down all windows that appear in front of the open gl screen to see anything).
  • Does it sometimes not close correctly?

Thanks,
Erik

Athlon XP 2000+, Win2K, GeForce 4Ti-4400, Java 1.4.0_03:

The first run crashed my machine (blue screen, then reboot). The second try gave me this error message:


java.lang.IllegalAccessError: try to access field BaseWindow.gl from class TexturePool

      at TexturePool.<init>(TexturePool.java:29)

      at GameWindow.initGL(GameWindow.java:97)

      at BaseWindow.createGLWindow(BaseWindow.java:135)

      at BaseWindow.start(BaseWindow.java:151)

      at GameWindow.main(GameWindow.java:422)

      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:324)

      at com.sun.javaws.Launcher.executeApplication(Unknown Source)

      at com.sun.javaws.Launcher.executeMainClass(Unknown Source)

      at com.sun.javaws.Launcher.continueLaunch(Unknown Source)

      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

      at com.sun.javaws.Launcher.run(Unknown Source)

      at java.lang.Thread.run(Thread.java:536)

That’s weird, BaseWindow.gl is a public static…
I put another version online with that changed.

Celeron 366 @ 550, 256 MB Ram, GeForce 2 MX, WinXP, JVM 1.4.1_01

Getting 60 FPS - running quite smoothly - though sound makes it lag (shooting rapidly drops FPS quite significantly!)
Try using OpenAL instead :wink:

Having troble seeng the pieces that I need to shoot / evade though :confused:

Yeah, I’m aware of the sound problems.
I use AudioClip and I know it sucks and I will replace it with something else (maybe open-al).

You need to evade/shoot everything except the stars.

Got to level 2!
Nice homing missiles :slight_smile:

I might be mistaking - but this is a GLized version of: http://www.java-gaming.org/cgi-bin/JGOForums/YaBB.cgi?board=Announcements;action=display;num=1041895295;start= right? - WOW - quite a change :slight_smile:

[quote]I use AudioClip and I know it sucks and I will replace it with something else (maybe open-al).
[/quote]
Why wouldn’t you use OpenAL?

Windows version : Linux Debian (SID)

Nvidia GeForce 2 / P3-1GHz
JDK 1.4.1 RC

140~160 FPS

Just turned off vsync - getting ~70 fps

common XP-box. 60fps.

Framerate drops to 40-50 and game gets extremely yerky while constantly firing.

[quote]I might be mistaking - but this is a GLized version of: http://www.java-gaming.org/cgi-bin/JGOForums/YaBB.cgi?board=Announcements ;action=display;num=1041895295;start= right? - WOW - quite a change
[/quote]
You’re not mistaken :slight_smile:
Yes, it’s quite a change. Open-GL and LWJGL rule 8)
java2d for games: never again for me!

[quote]Why wouldn’t you use OpenAL?
[/quote]
The sound was just 5 mins quick copy/paste job from the java2d version of this game. Using AudioClips is very easy :stuck_out_tongue:
I need to look into OpenAL and figure out how it works and figure out if I won’t double the download size instantly.

BTW is there any example code available for OpenAL (preferrably java)?

I just put a new version online with cooler graphics :slight_smile:

1st thing I need to do is replace the AudioClips so that the jerkyness will disappear.
I noticed on my machine when I added the AudioClips, framerate dropped about 15fps (without firing!)

[quote] I need to look into OpenAL and figure out how it works and figure out if I won’t double the download size instantly.
[/quote]
If size is a problem, then encode it as Ogg Vorbis, use this Java En/Decoder: http://www.jcraft.com/jorbis/ - decode the files to pcm (which is OpenAL’s native format) at first run. “Easy” way to gain 1:~10-12 compression ratio of audio.

Yep - check org.lwjgl.test.openal package.

regarding new version:
something is wrong with transparency with the stars…

Why do I keep dying when I go from level 1 to 2? - do I need a specific amound of stars or what?

I have some vorbis stuff hacked up - I’ll send it to your mail address soon - need to fix a small thing in it before sending…

!!!
Lovely. More work on the jerkiness please mister! And give me a bigger gun!

52fps, rate locked on my P3-M 1.2 / XP / GF2Go laptop.

Cas :slight_smile:

[quote]something is wrong with transparency with the stars…
[/quote]
That was intentional. The new background made the transparent stars almost invisible and I still have a problem with making masked images work…

[quote]Why do I keep dying when I go from level 1 to 2? - do I need a specific amound of stars or what?
[/quote]
Yes, 10 stars each level.

[quote]I’ll send it to your mail address soon
[/quote]
Cool, thanks! :smiley: :smiley: :smiley:

[quote]Lovely. More work on the jerkiness please mister! And give me a bigger gun!
[/quote]
Thanks :slight_smile:
The jerkiness problem (== replacing AudioClip with openAL) is the 1st thing to do, then game content (and get my online high score saver in place again).

Java Web Start Errors, using win xp on athlon computer, LWJGL installed and such.

Wow, this is really rather cool - I’m getting flashbacks to Cosmic Tunnels on the Atari ;D Nice and smooth for the most part (~120fps, Athlon 800, GeForce2 GTS).

Its more than a tad tricky to see what I’m shooting at though. Tunnel effect is rather nice (perhaps add a second tunnel layer moving the opposite direction at a different speed?) as is the engine exaust 8). Oh, and maybe smooth out the camera motion when I fling the ship wildly into the sides :o

And web-start was pretty much seamless - although I did have to start it a couple of times because of the ole ‘Lwjgl window behind other window’ thing.

These colors … LSD??? ;D

Quite “trippy” :slight_smile: Very cool! Now…if you could just get the camera to sit 1 inch off center (UDLR) you can see what you are shooting :wink:

I’m looking forward to seeing this progress! Great start!

-Chris

127 fps constantly, no drop, no visible GC
Dell inspiron 8200 laptop, pIV 2.2ghz, 512MB ram, radeon 9000/64Mo under XP.
sun jdk 1.4.1_01

Very cool, hard to see anything. Additive everywhere is quite bad, and being not in line with the ship would be better.

By the way, is that the speed that i was supposed to have with the j2D version? If so, i understand why i could not play more than 20s… items only spent 1s from the back to the front, and they now seem to take 7 more time. :slight_smile: