Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualwizardpc

Posted 15 January 2013 - 01:59 PM

Edit:, sorry double post, couldn't figure out how to delete it.


#1wizardpc

Posted 15 January 2013 - 01:58 PM

Thanks HAM, i'll take a look at what you said earlier.  Yea, I'm not multithreaded, so my update and render functions are right after eachother.  Now that I'm pushing 200 FPS, the fan gets really really loud, so I just read up on it, and basically you gave me some good keywords to google search.  I'm wasting cycles drawing the scene that aren't going to matter anways since I'm limited by the refresh rate. 

 

So If I limit my frames to 60 per second, should I only be limiting my Render function (that renders the scene) or both update and render functions.  Update functions handles all game updates, moving objects, AI, etc......  I'm also single threaded.  This is a small game really.  I'm just kinda asking what the best advice is when limiting FPS.


PARTNERS