Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (577)
games submitted by our members
Games in WIP (498)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3
  ignore  |  Print  
  Would like some feedback again  (Read 9918 times)
0 Members and 1 Guest are viewing this topic.
Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Posted 2003-02-02 13:48:39 »

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

Offline EgonOlsen
« Reply #1 - Posted 2003-02-02 14:28:32 »

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:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
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)




Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #2 - Posted 2003-02-02 14:50:52 »

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

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #3 - Posted 2003-02-02 14:58:00 »

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 :/

Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #4 - Posted 2003-02-02 15:06:21 »

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.

Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #5 - Posted 2003-02-02 15:13:29 »

Got to level 2!
Nice homing missiles Smiley

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 Smiley

Quote
I use AudioClip and I know it sucks and I will replace it with something else (maybe open-al).

Why wouldn't you use OpenAL?

Offline vrm

Junior Member




where I should sign ?


« Reply #6 - Posted 2003-02-02 15:27:07 »

Windows version : Linux Debian (SID)

Nvidia GeForce 2 / P3-1GHz
JDK 1.4.1 RC

140~160 FPS

Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #7 - Posted 2003-02-02 15:47:24 »

Just turned off vsync - getting ~70 fps

Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #8 - Posted 2003-02-02 16:23:53 »

common XP-box. 60fps.

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

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #9 - Posted 2003-02-02 18:33:00 »

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


You're not mistaken Smiley
Yes, it's quite a change. Open-GL and LWJGL rule  Cool
java2d for games: never again for me!


Quote
Why wouldn't you use OpenAL?


The sound was just 5 mins quick copy/paste job from the java2d version of this game. Using AudioClips is very easy  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)?


Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #10 - Posted 2003-02-02 18:33:56 »

I just put a new version online with cooler graphics  Smiley

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!)

Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #11 - Posted 2003-02-02 19:32:15 »

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.

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.

Quote

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

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

Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #12 - Posted 2003-02-02 19:54:51 »

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...

Offline princec

JGO Kernel


Medals: 282
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #13 - Posted 2003-02-02 20:19:48 »

!!!
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 Smiley

Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #14 - Posted 2003-02-03 06:56:37 »

Quote
something is wrong with transparency with the stars...

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?

Yes, 10 stars each level.

Quote
I'll send it to your mail address soon

Cool, thanks!  Cheesy Cheesy Cheesy

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


Thanks  Smiley
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).

Offline Captain-Goatse

Junior Member




I suck at teh 2D. XBOX IS BIG LOL!111


« Reply #15 - Posted 2003-02-03 13:53:55 »

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

JGO Kernel


Medals: 51
Projects: 11


Monkey for a head


« Reply #16 - Posted 2003-02-03 16:48:58 »

Wow, this is really rather cool - I'm getting flashbacks to Cosmic Tunnels on the Atari Grin 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 Cool. Oh, and maybe smooth out the camera motion when I fling the ship wildly into the sides Shocked

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.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #17 - Posted 2003-02-03 21:35:34 »

These colors ..... LSD???  Grin

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline ChrisM

JGO Coder


Medals: 1
Projects: 1


END OF LINE.


« Reply #18 - Posted 2003-02-04 03:33:08 »

Quite "trippy" Smiley  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

Offline pepe

Junior Member




Nothing unreal exists


« Reply #19 - Posted 2003-02-04 08:13:29 »

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. Smiley

Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #20 - Posted 2003-02-04 08:47:31 »

Thanks all for the nice comments and feedback  Smiley Smiley Smiley

Quote
Very cool, hard to see anything. Additive everywhere is quite bad


yes, I know the current blending is a problem because many colors are washed out to total white. I haven't succeed in getting the alpha channel working like I want it to work (see another thread about masking I recently posted on).

Quote
Now...if you could just get the camera to sit 1 inch off center (UDLR) you can see what you are shooting


I can make an offset in the camera so that the camera is hovering slightly above the ship although I think making the objects more clear will be more important to see what you're shooting.

Quote
is that the speed that i was supposed to have with the j2D version?


Yes, approximately. One difference is that you now have control over the speed, though

Quote
I'm getting flashbacks to Cosmic Tunnels

Quote
These colors ..... LSD

Quote
Quite "trippy"


Trying to come up with a name for the game, maybe
"Cosmic Trip" would be a one?  Grin

Offline mhelles

Junior Newbie




Java rocks!


« Reply #21 - Posted 2003-02-04 12:16:47 »

2 fps  Shocked, no sound, not reactive to button pushes.

Config: Matrox G400 (newest driver), 700 Mhz Athlon, 384 Mhz, W2K. LWJGL installed and works great.
Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #22 - Posted 2003-02-04 13:07:40 »

That's weird.
The LWJGL demo's work ok for you and this little game doesn't???

You're obviously not getting hw accelleration. Is your desktop at 24bit color perhaps? (try turning it to 16bit).

Hmmmm....  :-/

Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #23 - Posted 2003-02-04 20:46:21 »

I uploaded a small update to the game:
- Camera movement is now not so jerky when you hit the side of the playfield.
- Camera position is a bit higher
- Quick'n dirty (c) hack to get rid of jerkyness caused by AudioClip when constantly firing. This is just temporary until I got OAL in place.
- Some graphics are larger (play fire, homing missiles)

Thanks to Web Start, only the code (I think about 48Kb) is dl'edv, not the music, sfx, gfx,lwjgl etc Smiley
But, on my machine, it was only updated the second time I ran it after I uploaded the jar (also thanks to Web Start???)

Offline Captain-Goatse

Junior Member




I suck at teh 2D. XBOX IS BIG LOL!111


« Reply #24 - Posted 2003-02-05 12:19:48 »

This be the error

An error occurred while launching/running the application.

Title: Move GA*GA
Vendor: Move GA*GA
Category: Unexpected Error

Unexpected exception: java.lang.IncompatibleClassChangeError
Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #25 - Posted 2003-02-05 12:40:52 »

Hmmm.... on my machine at work it starts, loads the textures etc and then exits for no apparent reason (no error message, no nothing)...
:-/

Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #26 - Posted 2003-02-05 13:09:11 »

Does it work on anyone's machine???
I don't get it. I tested it on my PC at home and it worked although I had to try it twice for the automatic update to work.
Now at work it simply stopped working, with no errors. And at capt.goatse's PC one error message, EgonOlsen's PC another error (which made no sense) and hangs his machine.

pfffft...
:-/

Anyways, I'll try to see if I can fix it when I get home.
If not, then not.  Embarrassed

Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #27 - Posted 2003-02-05 13:38:09 »

Quote
Does it work on anyone's machine

Works as advertised....

Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #28 - Posted 2003-02-05 14:30:41 »

Quote
Works as advertised....


Aha.
In other words: 'Write-once, maybe-it-runs-somewhere'

This sucks  :-/

Offline princec

JGO Kernel


Medals: 282
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #29 - Posted 2003-02-05 16:16:38 »

Welcome to the world of games development :/
At least in this case it's probably our fault, and likely one that's to do with how you select a screen mode. What's your code to select a mode?

Cas Smiley

Pages: [1] 2 3
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (20 views)
2014-04-15 18:08:23

BurntPizza (16 views)
2014-04-15 03:46:01

UprightPath (29 views)
2014-04-14 17:39:50

UprightPath (14 views)
2014-04-14 17:35:47

Porlus (30 views)
2014-04-14 15:48:38

tom_mai78101 (55 views)
2014-04-10 04:04:31

BurntPizza (112 views)
2014-04-08 23:06:04

tom_mai78101 (212 views)
2014-04-05 13:34:39

trollwarrior1 (181 views)
2014-04-04 12:06:45

CJLetsGame (187 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!