XNA UK User Group

A helping hand for bedroom coders throughout the land.
in

Program structure

Last post 08-31-2008 10:30 PM by hinchy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-31-2008 9:31 PM

    Program structure

    I've seen lots of demos and frameworks and suchlike, but I've never seen a tutorial that really explains how to properly structure even a small game.

    So does anyone know any good resources on how to tackle structuring a game well?

    So I mean real detail on how to write your components and classes and make them available to other parts of the game.

    Thanks. 

  • 08-31-2008 10:30 PM In reply to

    • hinchy
    • Top 50 Contributor
    • Joined on 03-07-2008
    • Rochdale

    Re: Program structure

     Hi,

     Have a look at design patterns on wikipedia or just google it. The Singleton and Factories are two types of design patterns I can think of off the top of my head but even a small game needs lots of different design patterns to work in unison to achieve a working program. Also have a look at the MSDN help files for XNA and how the XNA design team went about it I learned a lot from doing this plus you get loads of xna experience :)

    XNA app development: http://msdn.microsoft.com/en-us/library/bb203873.aspx#ID2EVAAC

    XNA Game Component Development: http://msdn.microsoft.com/en-us/library/bb199634.aspx

    RSS of Shawn Hargreaves Blog: http://blogs.msdn.com/shawnhar/rss.xml

     

    Good luck.

     

    "I have more fingers in more pies than a leper at a bakery" -Gene Hunt. Life on Mars.
Page 1 of 1 (2 items)