locked
what happened when game.run is called? RRS feed

  • Question

  • i'm a chinese student,so my english is very pool.sorry!

    I named my game class Game1(which is default). I found that before game1.run is called ,the graphics.GraphicsDevice member in my Game1 class is null,but after game1.run is called,it had been initialized.so i want to know what happened when game1.run is called?

    thank you!

    Tuesday, November 28, 2006 7:34 AM

Answers

  • All the nasty little tidbits that you used to have to do yourself in DirectX - checking capabilities, creating the device, etc. I'm sure there's more to it than that, but it's the guts of the game that is now handled for you.
    Tuesday, November 28, 2006 8:11 PM

All replies

  • All the nasty little tidbits that you used to have to do yourself in DirectX - checking capabilities, creating the device, etc. I'm sure there's more to it than that, but it's the guts of the game that is now handled for you.
    Tuesday, November 28, 2006 8:11 PM
  • Thank you for your answer.

    Wednesday, November 29, 2006 6:20 AM