Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Performance
#4
(Yesterday, 04:59 AM)johnno56 Wrote: Excellent! Thank you!

Great example. 

I would just add the following to it, to make it easier to switch between max fps and 60 fps - I find that this really helps when you are trying to check fps, but still easily see how the game is running when the fps is set to a "normal" rate. You can retain the smaller increments/decrements in fw by amalgamating the key up and key down actions within this code, if desired.

Code:
if keydown(KEY_SPACE)
        fw = 1000
else
        fw = 60
endif 
Reply


Messages In This Thread
Performance - by johnno56 - Yesterday, 02:29 AM
RE: Performance - by 1micha.elok - Yesterday, 04:41 AM
RE: Performance - by johnno56 - Yesterday, 04:59 AM
RE: Performance - by kevin - 8 hours ago

Forum Jump:


Users browsing this thread: 1 Guest(s)