Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
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 4
  ignore  |  Print  
  Anyone have time to test...  (Read 11866 times)
0 Members and 1 Guest are viewing this topic.
Offline selendic

Junior Member




Java games rock!


« Reply #30 - Posted 2003-11-05 09:20:11 »

Guys, I do know how to take a screenshot, I just couldn't figure out where/how to upload it Smiley.  Yep,  Jens screenshot is what I get too. First version worked fine. That efect happens only when I'm jumping, and only when other two caraceters are visible (bird and oneeyed alien). When those two are out of the picture, everything works fine.
Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #31 - Posted 2003-11-05 09:32:06 »

Thanks for the info, that points the finger squarely at my MD2 Loader  Grin. I'll attempt to fix it up tonight, I uploaded some new bits last night, however, I also noticed I'm only getting about 30 fps on my old GF2.

The hard restart I have to figure is a JOGL related issue since I can't image how the high level application code could cause this.

Oh, has anyone seen the wierd effect (as seen by Selendic and Jens) on anything other than Linux?

Kev

Offline krypto

Junior Member




while(true) { self.caffeinate (); }


« Reply #32 - Posted 2003-11-05 11:24:18 »

On Solaris 8

Error:Couldn't load resource blahmumbleblah jogl-solsparc.jar

JRPG Users -  General Users Site
JRPG Developers -  The JRPG Project's Home
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #33 - Posted 2003-11-05 11:37:04 »

Yeah, sorry about that, I took the solaris jogl support out. Must have forgotten to up the JNLP on the server..

I'll attempt to put the support back in tonight,

Kev

Offline iiyama

Junior Newbie





« Reply #34 - Posted 2003-11-06 14:50:32 »

Hi,

same effects like selendic.
SuSe 9.0 Nvidia 4200
About 170 fps

iiyama
Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #35 - Posted 2003-11-06 14:55:26 »

Looks like this is going to be my project for a while.

Going to attempt to get a linux box up and running on the weekend, so I should hopefully make some progress on the bug. Although, I can't quite see anywhere to start other than trying to see it myself. Can't imagine what might be going on in linux.

Kev

Offline Preston

Senior Member


Medals: 4



« Reply #36 - Posted 2003-11-06 17:35:16 »

Quote
Going to attempt to get a linux box up and running on the weekend, so I should hopefully make some progress on the bug.

That's a good idea.
Since Java apps should run on any (Java enabled) platform it's a good idea to make this platform neutrality real right from the start of project. :-)  I'm wondering that a few (other) Java developers aren't that sensible...

Btw there are some nice "Boot Linux from one CD" distributions (no harddisc partitioning). My favorite being Knoppix: http://www.knopper.net/knoppix
(If it's still closed due to software patents there's a clickable URL on the frontpage to go the old index)

Newer versions of such distributions allow the user to store the HOME dir on a writable device or mini swap partition.

However, I guess you already know all this, and furthermore I'm not fit with Linux either. :-)
Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #37 - Posted 2003-11-13 08:19:39 »

Hey all,

In case anyone's interested there's a new version of the demo/game here:

http://www.newdawnsoftware.com/martian/jnlp/martian.jnlp

It should be about twice as fast. Unfortunatly I've still not managed to set up a linux box to test out the bug, however the MD2 loader has moved over to using Morph nodes so the bug might have disappeared along the way.

I'm afraid I've moved the webstart to a new location which means re-downloading a bunch of stuff. This was to leave the old version intact.

If anyone who had the bug before could check to see if its gone I'd appreciate it.

Kev

EDIT: Fix URL

Offline Jens

Senior Member




Java for games!


« Reply #38 - Posted 2003-11-13 08:23:50 »

The link is currently dead.

Xith3D Getting Started Guide (PDF,HTML,Source)
Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #39 - Posted 2003-11-13 08:29:57 »

Apologies, it should have been Embarrassed :

http://www.newdawnsoftware.com/martian/jnlp/martian.jnlp

I'll edit it above also just to make life easier.

Kev

EDIT: Add smiley

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

Senior Member




Java for games!


« Reply #40 - Posted 2003-11-13 11:29:58 »

The bug has disappeared, but the models still look a bit strange.

a screenshot

Xith3D Getting Started Guide (PDF,HTML,Source)
Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #41 - Posted 2003-11-13 12:21:58 »

Oh jeez, not I'm really confused Wink

Nice to see the geometry bug has gone away but now the two models seem to have swapped skins on Linux.. I guess it could be an oddity with appearances on Linux but I guess its more likely my code somewhere..

Thanks for testing it again!

Kev

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #42 - Posted 2003-11-13 14:22:37 »

This is hosed on OS X 10.3.1.
I waited a bit and I saw one static frame with an alien, brick background and "FPS: 1"

I resized the window and the frame cleared and never came back.

Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #43 - Posted 2003-11-13 14:53:01 »

Do you get anything on the Java Console? Sounds like an uncaught exception.

Kev

Offline selendic

Junior Member




Java games rock!


« Reply #44 - Posted 2003-11-13 16:38:23 »

Working fine now on Suse9.0 + NVidia. cca 200 FPS when resized fullscreen. Minor hickups when moving lef/right, every 6/7 steps or so. (I don't have a windows box to check if that happes there too). Pretty impressive, actually!
Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #45 - Posted 2003-11-13 16:43:01 »

The hickups might be GC related, haven't really optimised (or considered) this yet.

Wahay! A positive result on a linux box.. currently in the process of getting gentoo installed on the GF4 box upstairs........

Kev

Offline Java Cool Dude

Senior Member




Java forever


« Reply #46 - Posted 2003-11-13 17:25:33 »

java.lang.Error: Cannot load image resources/textures/stones.gif

     at com.xith3d.loaders.texture.TextureLoader.loadImageFast(TextureLoader.java:293)

     at com.xith3d.loaders.texture.TextureLoader.loadTexture(TextureLoader.java:313)

     at com.xith3d.loaders.texture.TextureLoader.loadTexture(TextureLoader.java:348)

     at com.xith3d.loaders.texture.TextureLoader.getTexture(TextureLoader.java:631)

     at org.newdawn.martian.client.AppearanceStore.getAppInstance(AppearanceStore.java:32)

     at org.newdawn.martian.client.AppearanceStore.getApp(AppearanceStore.java:24)

     at org.newdawn.martian.client.map.Block3D.createSimpleShape(Block3D.java:161)

     at org.newdawn.martian.client.map.Block3D.buildForeground(Block3D.java:143)

     at org.newdawn.martian.client.map.Block3D.<init>(Block3D.java:32)

     at org.newdawn.martian.client.map.World3D.<init>(World3D.java:48)

     at org.newdawn.martian.client.Game.<init>(Game.java:47)

     at org.newdawn.martian.client.Game.main(Game.java:120)

     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

     at java.lang.reflect.Method.invoke(Unknown Source)

     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(Unknown Source)

Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #47 - Posted 2003-11-13 17:33:44 »

Weird, what platform is that Dude?

Kev

EDIT: For anyone thats interested I've put up some screenshots of what its _meant_ to look like Sad

http://www.newdawnsoftware.com/martian/screenshots

Offline Preston

Senior Member


Medals: 4



« Reply #48 - Posted 2003-11-14 03:50:34 »

Quote
java.lang.Error: Cannot load image resources/textures/stones.gif

I receive this error a few times, too. I don't know why it runs sometimes, sometimes it doesn't.

Well, I think Webstart doesn't like me (and vice versa).

Maybe it would be an option to just upload the JAR of your game? JARs are clean, fast and work (here for me) all time. I mean mainly during your development cycle and for us developers here who have installed up to date versions of Jogl and Xith3d.

PS: Apart from that the game demo is pretty funny. Good work, Kev! :-)
Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #49 - Posted 2003-11-14 06:14:37 »

Yeah, I'll get a download site arranged pretty soon. I just like web start cause it guaratees you've always got the latest version of everything.

As to having up to date Xith/Jogl etc.. that can be a problem, again with web start I can assure you're running against the version I am Smiley

Which platform are you guys seeing that error on?

Kev

Offline Preston

Senior Member


Medals: 4



« Reply #50 - Posted 2003-11-14 07:58:18 »

Quote
(..) As to having up to date Xith/Jogl etc.. that can be a problem, again with web start I can assure you're running against the version I am :)

But it won't run here. I've removed all the Xith JARs from my JRE/lib/ext directory but still I got that stone.gif missing error.

Quote
Which platform are you guys seeing that error on?

Win2000, Java JRE 1.4.2_02-b03.
Offline Jens

Senior Member




Java for games!


« Reply #51 - Posted 2003-11-14 10:18:54 »

Hi Kev,

the game is running fine now. You didn't actually change anything since yesterday, did you? The appearances aren't swapped anymore and I can't see any other mistake. Good work! Grin

Jens

Xith3D Getting Started Guide (PDF,HTML,Source)
Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #52 - Posted 2003-11-14 22:44:41 »

Ok, I have a linux box! (with considerable help from Endolf). I've also made downloads available from the website instead of just webstart.

On linux, it seems to work flawlessly, and a sight faster too..

http://www.newdawnsoftware.com/martian

For screenies, downloads and webstart...

Kev

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #53 - Posted 2003-11-15 14:29:27 »

you can add to the readme that you start it the same way on Mac as on Windows.

Worked fine on Mac OS X 10.3.1 with a version of Java I'm not allowed to talk about here. Wink

Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #54 - Posted 2003-11-15 14:43:37 »

Superb news! and thanks for the readme info. I've also found the bug that makes it hang on the first frame that you were experiencing with the web start version.

However, I'm in the process of writing a simple updater that will update the installed versions from the webstart stuff so either way it should be a winner! Smiley

Thanks again,

EDIT: The updater is now posted on the website, if you could give it a go on MacOS I'd be most appreciative.

Kev

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #55 - Posted 2003-11-15 18:55:28 »

Looks like you forgot to sign something... I tried the Web Start version on the Mac and got this:

An error occurred while launching/running the application.

Title: Martian Madness
Vendor: Kev Glass - New Dawn Software
Category: Security Error

Unsigned application requesting unrestricted access to system
Unsigned resource: http://www.newdawnsoftware.com/martian/jnlp/martian.jar


I should also mention that you can just double-click martian.jar.. unlike Windows that should reliably launch a jar file.  (On Mac you can also double click a class file to run it's main method.)

I did notice that there are frequent glitches in the animation.  I'm going to try a few command line options (verbosegc etc..) to see if it can be smoothed out.

Offline kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #56 - Posted 2003-11-15 19:06:01 »

How useful are you! Smiley

Quote

Looks like you forgot to sign something... I tried the Web Start version on the Mac and got this:

An error occurred while launching/running the application.


Yep, copied over the wrong jar, fixed now Smiley

Quote

I should also mention that you can just double-click martian.jar.. unlike Windows that should reliably launch a jar file.  (On Mac you can also double click a class file to run it's main method.)


Useful info, maybe worth getting some more stuff about deployment on the Wiki. Its a tricky area now.

Quote

I did notice that there are frequent glitches in the animation.  I'm going to try a few command line options (verbosegc etc..) to see if it can be smoothed out.


Yeah, I don't see those anymore on Windows, but seems depend on the amount of memory available. I guess its GC related but I've not got round to worrying about that sort of thing yet. If you find anything out, it'd be really useful.

Cheers,

Kev

PS. How much is a Mac that I could test 3D stuff on now?

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #57 - Posted 2003-11-15 21:07:10 »

I did a verbosegc but didn't see a correlation to the pauses.  No FULL GC happened during the game, and the minor GCs took about 3 to 6 milliseconds.

I tried with -Xcomp  but that crashed with a stack overflow and I didn't bother to look up the args to set the stack higher.

I'm going to try with -XX:+PrintCompilation to see if it is the JITC that is causing the glitches as methods get compiled.   I actually don't think that would be the case either - methods usually compile in under a few milliseconds.

I suspect it actually related to managing the visible bits of the scene graph or something similar.. but obviously I'm just guessing until there is real profiling info to go on.

Results in... nope no method compilation is causing the glitches.  (FPS indicator shows between 110 and 200 on my TiBook 1GHz)

Hey is that Chicken Boo from Animaniacs on that platform?
http://www.geocities.com/RainForest/3516/theme.wav

As for a Mac to try stuff on you might be able to get a used one now that the G5's are available and the new powerbooks are out.  The new iBook looks to be good value.. but you still end up paying a bit of a premium for a Mac...  Worth it in my opinion, but buying used to fit your budget might make the most sense.
The low end of the new iBook is $1100 USD.  A new eMac goes for $800, but I'm not sure if it has the power you would want in the graphics department
http://www.apple.com/hardware/  Street price might be a little cheaper..

Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #58 - Posted 2003-11-16 19:49:05 »

Hmm
 Having *helped* get your linux box running, I thought I ought to try it on mine Smiley, I get the usual demp telling me what extensions are available etc, followed by java.lang.stackoverflowerror. The first time I tried it I got the all the static geometry up and visible, the last few times I get the same error, but don't get anything visible apart from the main app frame. I tried the xith demos and they seem to be ok, no idea whats going on, but thought I would report

Endolf

Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #59 - Posted 2003-11-16 21:18:52 »

Hi
 Kev pointed out the 'vertex something or other bug under linux' and I checked, with -DXITH3D_USER_VERTEX_BUFFER_CACHING=false it all works, well, the install one does.

Endolf

Pages: 1 [2] 3 4
  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.

Riven (12 views)
2014-07-29 18:09:19

Riven (8 views)
2014-07-29 18:08:52

Dwinin (9 views)
2014-07-29 10:59:34

E.R. Fleming (25 views)
2014-07-29 03:07:13

E.R. Fleming (10 views)
2014-07-29 03:06:25

pw (39 views)
2014-07-24 01:59:36

Riven (39 views)
2014-07-23 21:16:32

Riven (27 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!