Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (672)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Performance Tuning / Re: An efficient discrete step timing loop. on: 2003-10-08 20:48:48
In Markus_Persson's original code, there was a timer.getTimeInMillis().  I accidentally used the AdvancedTimer's getClockTicks(), which is NOT in milliseconds.  Things behave as expected, no more sleeping either, when I slipped in System.currentTimeMillis() temporarily.
I need to do some math in order to correctly use the AdvancedTimer.  Thanks.
2  Game Development / Performance Tuning / Re: A weird fps tale on: 2003-10-07 23:18:47
2. Download GAGETimer and turn off the CPU monitor.
I've come upon the same realization recently.
Could you please explain the bit about turning off the CPU monitor?  How much would it really help and what's the worst that could happen by doing so?  Thanks.
3  Game Development / Performance Tuning / Re: An efficient discrete step timing loop. on: 2003-10-07 22:56:55
Well, I got rid of the flicker by adding a timer.sleep(22000).
I'm using the GAGE AdvancedTimer.
I now get 66 fps while @ 1024x768, 85Hz.

I'm assuming that I don't see the flicker anymore because the 85Hz sufficiently covers the 66fps and the beat frequency becomes unnoticeable.  (yes/no/sorta?)

Still feel like I'm at the mercy of some mysterious forces.
BTW: WinXP home edition, 1.8GHz, NVidia TNT2 Model 64- 32Mb.
4  Game Development / Performance Tuning / Re: An efficient discrete step timing loop. on: 2003-10-07 22:15:30

First post.  Learned a heck of a lot from you guys- thanks.

Question- while testing this game loop, I notice that my fps seem to be limited to the refresh rate of the screen mode I switch into.  Is this a Window's "feature"?

Edit: Hmm- I just found an answer:

Also- I understand what vertical synch is all about, but I don't yet see how to "do it" with pure Java.  (I do see how to do it via LWJGL- very nice btw).  I currently get big time flashing- which is what I'd expect if my isn't synched with monitor's vsynch and their respective rates aren't perfectly in synch.  But I'm a big time newb- maybe I'm missing something.

Could someone give me some pointers, advice, links?
Thanks a lot!
Pages: [1]
IanParcs (48 views)
2016-04-18 14:18:53

KaiHH (46 views)
2016-04-18 08:35:41

KaiHH (76 views)
2016-04-15 12:43:58

theagentd (79 views)
2016-04-14 02:16:17

theagentd (94 views)
2016-04-14 02:15:43

IanParcs (106 views)
2016-04-12 03:51:16

IanParcs (48 views)
2016-04-12 03:50:03

IanParcs (44 views)
2016-04-12 03:49:54

IanParcs (39 views)
2016-04-12 03:49:52

IanParcs (49 views)
2016-04-12 03:49:52
Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30 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‑
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!