Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
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  
  Cosmic Birdie Tech Demo Release  (Read 13450 times)
0 Members and 1 Guest are viewing this topic.
Offline EgonOlsen
« Reply #60 - Posted 2006-07-14 16:58:34 »

But for now, whatcha getting 5-10hz? Wink
No, 10-20fps. It feels sluggish to play. Seems like the whole game's timing is affected by the low fps. Is the speed of the game logic based on the frame rate?

Offline shawnkendall

Senior Member





« Reply #61 - Posted 2006-07-14 17:16:32 »

Oh yes :-)
The physics needs to run at a steady rate, right now it wants 60, but it is in fact tied to the frame update.

The big issue in a game like this is you have to have frame rate even if you unlink the physics and run them at a higher rate.
Moving fast with a slow frame update is still bad bad. And variable frame rates have been proven to be bad (for user experience) - see google papers :-)  The final game will settle on a set up that will run at 30, 45, and 60 only.
So we have to get as much hardware into that range.  Part of that will come with the fixes to the transfers I was posting about.  Also lowering or disabling s/fx.

Try hitting 'o' to cut off the under vehicle lighting, you may get a few more frames.

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline shawnkendall

Senior Member





« Reply #62 - Posted 2006-07-18 01:51:39 »

A minor (performance) update has been posted.
Some people will see big improvements, other none Smiley

One some test machines I get nearly 100% improvement in frame rate with a full scene.

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline jfelrod1960

Junior Member




Use the source Luke, use the source!!!


« Reply #63 - Posted 2006-07-18 02:09:50 »

I'm impressed with the performance now.  You obviously have a great understanding of how the VM works.

Jeffrey F. Elrod
Complexsive Systems
Offline shawnkendall

Senior Member





« Reply #64 - Posted 2006-07-18 04:19:31 »

I'm impressed with the performance now.  You obviously have a great understanding of how the VM works.
AHAH thanks but... :-)
As usual with any game code (Java or ...) the key to performance is doing less work.  And there was some things we did sloppy to get it out (actually lots of things) and slowly we are getting those in order.

So, really this isn't a VM issue, it really was a graphics issue, and it REALLY was sloppy use of graphics by the game (thus by us - i.e. "Mistake were made" - hmm by who exactly?), not Java3D.

Glad it showed improvement for you.

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline dsellars

Junior Member




Need to write more games


« Reply #65 - Posted 2006-07-18 10:02:52 »

I finally got around tto trying it but it wouldn't work.

I suspect it's cos I'm running Java 1.6 on my windows box but it wouldn't work for me.

XP
32bit Athalon about 2.5Ghx (it's over clocked)
Nvidia 6800GS
Java 1.6

I can try and get you some logs tonight when I get home if you want. 

I think I got a spalsh screen and then nothing.

Dan.
Offline pepe

Junior Member




Nothing unreal exists


« Reply #66 - Posted 2006-07-18 11:08:44 »

i tried the demo, and i can't start the game.
I select free play, then i get the pilot selection page, and then.. well, clicking on a pilot shows a selection mark, but nothing happens. if i move the mouse out of the button, the mark disappears. I can select other pilots, but it acts the same.
did i miss something obvious?
i'm using sun's 1.5.0_06.

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

Senior Member





« Reply #67 - Posted 2006-07-18 13:48:20 »

I finally got around tto trying it but it wouldn't work.
...
Java 1.6
...
Dan.
Yes, there is a known issue (although not known WHAT it is) that Java 1.6 webstart does not launch it correctly.  I have1.6 and 1.5 installed so when I launch webstart stuff I can choose which...that is about the best I know to do right now.

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline shawnkendall

Senior Member





« Reply #68 - Posted 2006-07-18 13:50:00 »

i tried the demo, and i can't start the game.
I select free play, then i get the pilot selection page, and then.. well, clicking on a pilot shows a selection mark, but nothing happens. if i move the mouse out of the button, the mark disappears. I can select other pilots, but it acts the same.
did i miss something obvious?
i'm using sun's 1.5.0_06.
It should work on 1.5.0_06.
I can take a look at the output in the console if you send it to me.
Thanks!

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline EgonOlsen
« Reply #69 - Posted 2006-07-18 17:37:55 »

A minor (performance) update has been posted.
Some people will see big improvements, other none Smiley

One some test machines I get nearly 100% improvement in frame rate with a full scene.
On the mentioned Intel platform with integrated graphics, it helps a little. It's between 15-20fps now. That's not too bad considering that a pencil on paper has a higher fillrate than this chipset.

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

JGO Coder


Medals: 1
Projects: 1


END OF LINE.


« Reply #70 - Posted 2006-07-22 18:53:05 »

Ummmm....

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
JNLPException[category: Download Error : Exception: java.util.zip.ZipException: error in opening zip file : LaunchDesc: null ]
   at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
   at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
   at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
   at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
   at com.sun.javaws.Launcher.downloadResources(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)


-Chris

Offline shawnkendall

Senior Member





« Reply #71 - Posted 2006-07-23 01:49:05 »

Ummmm....

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
JNLPException[category: Download Error : Exception: java.util.zip.ZipException: error in opening zip file : LaunchDesc: null ]
   at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
   at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
   at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
   at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
   at com.sun.javaws.Launcher.downloadResources(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)


-Chris
Right so what is the system config?
If you notice the error you're getting is in some web start launch part...that would be before any of the app is executed.
Lemme test that for a sec...

Ok done...
I was posting some pieces for the JOAL issue I was having (see other forum) but I just tested this release link and it still works fine all all my test systems.

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline erikd

JGO Ninja


Medals: 15
Projects: 4
Exp: 14 years


Maximumisness


« Reply #72 - Posted 2006-07-23 20:49:33 »

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  
java.lang.reflect.InvocationTargetException
   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.doLaunchApp(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
   at cosmic.engine.SceneManager.<init>(SceneManager.java:98)
   at cosmic.engine.SceneManager.createSceneManager(SceneManager.java:195)
   at cosmic.engine.SimulationManager.<init>(SimulationManager.java:51)
   at cbgyro1.Main.main(Main.java:134)
   ... 9 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt)
   at java.security.AccessControlContext.checkPermission(Unknown Source)
   at java.security.AccessController.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   at javax.media.j3d.GraphicsConfigTemplate3D.<clinit>(GraphicsConfigTemplate3D.java:56)
   ... 13 more
[quote][/quote]

Java 1.6.0 beta2, WinXP SP1, nVidia Ti4200

Offline shawnkendall

Senior Member





« Reply #73 - Posted 2006-07-24 22:22:01 »

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  
java.lang.reflect.InvocationTargetException
   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.doLaunchApp(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
   at cosmic.engine.SceneManager.<init>(SceneManager.java:98)
   at cosmic.engine.SceneManager.createSceneManager(SceneManager.java:195)
   at cosmic.engine.SimulationManager.<init>(SimulationManager.java:51)
   at cbgyro1.Main.main(Main.java:134)
   ... 9 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt)
   at java.security.AccessControlContext.checkPermission(Unknown Source)
   at java.security.AccessController.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   at javax.media.j3d.GraphicsConfigTemplate3D.<clinit>(GraphicsConfigTemplate3D.java:56)
   ... 13 more
[quote][/quote]

Java 1.6.0 beta2, WinXP SP1, nVidia Ti4200

Yes this is a known regression Java3D/Web start bug as per the Java desktop forums. - http://forums.java.net/jive/thread.jspa?threadID=17007&tstart=0
It's fixed in the latest RC - Java 1.6.0-b92
Running Java 1.6.0 is BETA so you'll have to keep up to date or eat the bugs Wink.

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
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 (53 views)
2014-04-15 18:08:23

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

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

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

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

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

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

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

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

CJLetsGame (210 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

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