It's been a while. Oopsy in docs.

Apr 15, 2010 at 9:21 PM

Hi Bryan, It's a year since I went for a week break and never came back.

I'm looking at the game thing again now, random as ever.

I was reading through your docs and found an oopsy.


in Loading and Changing Game Levels.

"Run the app again and you should see your second level around five seconds after starting the application. If not, debug."

referring to:

if (!secondLevelLoaded && gameTime.TotalGameTime.Milliseconds > 5000)

What you meant was

if (!secondLevelLoaded && gameTime.TotalGameTime.TotalMilliseconds > 5000)

Because gameTime.TotalGameTime.Milliseconds returns the Millisecond component rather than the TotalGameTime represented in milliseconds, so it will never go above 999.

Hope this helps swerve a few confuzzled punters back on the path.


Kind regards,


(P.S. I lost a hard drive with a years worth of work on it... This was a major setback to the project... Hence the holiday, cue tiny violins... Ah well. BACK UP YOUR STUFF!)

Apr 16, 2010 at 1:20 AM

never mind you answered it here