RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic  
View previous topic - View next topic  
Author Message
JimKurth
Monkey-Butler


Joined: 01 Apr 2007
Posts: 53
Location: Houston, TX

PostPosted: 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

PostPosted: 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

PostPosted: Sun Jan 20, 2008 2:30 am    Post subject: [quote]

Here is a 2d project that I am tinkering with.

You are free to use it.

http://undefinedaeon.googlepages.com/AdventuresOfTj_GS2.zip

Its for XNA Game Studio 2.0
so, if you don't have 2.0 installed, get it. Its much nicer than the XNA Game Studio express.

If you have more questions, let me know.
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
Post new topic Reply to topic Page 1 of 1 All times are GMT
 



Display posts from previous:   
Jump to:  
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