|
|
View previous topic - View next topic |
Author |
Message |
JimKurth Monkey-Butler
Joined: 01 Apr 2007 Posts: 53 Location: Houston, TX
|
Posted: Sat Jan 19, 2008 6:20 pm Post subject: programming C# and XNA 2.0 |
[quote] |
|
I have a question... trying to program, and i can put sprites on the screen but my question is how do I write the program for it in class-structure?
Does everything fall into the LoadContent() class? I know the Draw class for rendering to the screen, but what about every other thing? Do i just make separate classes, like modules, and call them from the LoadContent class or is there any other class that acts as the main game loop region?
I've read tutorials but it doesn't really tell me how to write the games as far as where to put game code and such.
Thanks _________________ Being a non-commission officer isn't easy. It it were, they would have given it to the officer corps.
|
|
Back to top |
|
|
Verious Mage
Joined: 06 Jan 2004 Posts: 409 Location: Online
|
Posted: Sat Jan 19, 2008 6:34 pm Post subject: |
[quote] |
|
I would recommend downloading a few of the Starter Kits to see the recommended game/class structure. The Starter Kits are available for free from Microsoft via the following link:
http://creators.xna.com/Education/StarterKits.aspx
|
|
Back to top |
|
|
DeveloperX 202192397
Joined: 04 May 2003 Posts: 1626 Location: Decatur, IL, USA
|
|
Back to top |
|
|
|
Page 1 of 1 |
All times are GMT
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|