Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 5 6 [7]
  Print  
  LWJGL16k  (Read 39810 times)
0 Members and 1 Guest are viewing this topic.
Offline Rick

Full Member
**

Posts: 106


Java games rock!


« Reply #180 on: 2005-07-22 10:03:33 »

I thought about the JIT compilaton but the pause happens about 80 frames after the start of each race not only the first. I can't think what it could be as it always happens around the same spot +/- a few frames.

To win try hugging the inner walls.

What platform did you play on. I have only tested it on windows so it would be interesting to see how portable it really is.
Offline Rick

Full Member
**

Posts: 106


Java games rock!


« Reply #181 on: 2005-07-23 18:06:14 »

Alan_W ,
You were right on. The delay at the start was due to the JIT. I was not letting the main loop run whilst waiting for the start of the game. So after about 80 loops the JIT kicked in. I now let he loop run and the pause happens while waiting for the key hit instead of while racing. Is there a way to force the JIT earlier or is it correct to just let it run.
Offline Alan_W

JGO Ninja
***

Posts: 734
Medals: 8


Java tames rock!


« Reply #182 on: 2005-07-26 02:47:35 »

You just let it run Smiley

Time flies like a bird. Fruit flies like a banana.
Games published by our own members! Go get 'em!
Offline chaosdeathfish

Jr. Member
**

Posts: 56



« Reply #183 on: 2005-09-07 19:27:12 »

Just to bring this thread back to life.. Undecided

I've written a useful tool to show the sizes of the internals of your class file. Can help to find out what's taking up all the valuable space in your classes.

Look here: http://192.18.37.44/forums/index.php?topic=10771.0
Pages: 1 ... 5 6 [7]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.095 seconds with 22 queries.