Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualParadigm Shifter

Posted 01 March 2013 - 04:56 PM

Add 600 / ( 4 / time since last frame in seconds) to your health per frame. So if you run at 60fps, add 600 / (4 / (1/60)) = 600 / (4 * 60) = 2.5 health per frame, after 240 frames (4 seconds) you will have added 2.5 * 240 = 600 health.


#1Paradigm Shifter

Posted 01 March 2013 - 04:46 PM

Add 600 / ( 4 / time since last frame in seconds) to your health per frame. So if you run at 60fps, add 600 / (4 * (1/60)) = 600 / (4 * 60) = 2.5 health per frame, after 240 frames (4 seconds) you will have added 2.5 * 240 = 600 health.


PARTNERS