Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualJebbles

Posted 08 August 2012 - 11:04 PM

Now, I could be wrong, but I am pretty sure that everything the GameTime class returns is going to be an int. To get the correct elapsed time, I would instead get the milliseconds and divide by 1000.

Edit:

I was mistaken! gameTime.ElapsedGameTime.TotalSeconds; does indeed return a floating point number. Will continue to look at the code to see if I can see anything!

#1Jebbles

Posted 08 August 2012 - 06:28 PM

Now, I could be wrong, but I am pretty sure that everything the GameTime class returns is going to be an int. To get the correct elapsed time, I would instead get the milliseconds and divide by 1000.

PARTNERS