XNA Creators Club Online
Page 1 of 1 (6 items)
Sort Posts: Previous Next

How do i learn all of the namespaces and classes associated with the xna framework?

Last post 11/25/2008 4:14 AM by programmer09. 5 replies.
  • 11/17/2008 2:10 PM

    How do i learn all of the namespaces and classes associated with the xna framework?

    Hello everyone,
    I was wondering if there was some sort of document or anything on everything in the xna framework. By this i mean all of the keywords in it (like vector2, texture2d and so on...). I can programm in C# fairly well and am comfortable with it i just done no the things involved in using the xna framework.

    Thank you.
  • 11/17/2008 3:06 PM In reply to

    Re: How do i learn all of the namespaces and classes associated with the xna framework?

    When you install the XNA framework, you install Help files as well. Looking through the keywords associated with the XNA framework in the help will give you the list you're looking for. But really, how you learn is one keyword at a time. Just jump in and start working through the various beginning tutorials and get exposed to namespaces and keywords in small doses. Trying to learn them all up front is a big task, but learning what you need as you need it is definitely doable.

    I'd recommend checking out the samples and starter kits on this site, then browsing through the "Help! I'm new" FAQ for more information and places you can go to gain additional XNA framework training.
  • 11/17/2008 8:01 PM In reply to

    Re: How do i learn all of the namespaces and classes associated with the xna framework?

    Thanks a ton for the help. I need to no a bunch of the keywords right now. Instead of asking a bunch of different questions about all of the keywords i need to no i just though i would ask where i could get some info i could go to myself instead of inconveniencing people.
  • 11/24/2008 4:02 PM In reply to

    Re: How do i learn all of the namespaces and classes associated with the xna framework?

    As said, when you install the XNA framework, help documentation comes along with it. To access it, just open-up MSVS, and go to Help > Contents.

    If you've also installed the MSDN documentation, you can also find documentation for a lot of other things, too. You may also want to consider checking out the MSDN website, where they have online documentation for nearly anything you can imagine.

    Also, don't feel like you're not up-to-snuff just because you may need help. Every programmer needs to look up the documentation for something, or may need a refresher for something. I've been coding for 3+ years now, and I use documentation for various APIs all the time, and even look-up keywords every once in a while if I forget what they do, or need a refresher.

    There's also a wealth of knowledge, and tutorials out there on the Internet =]

    (may I also note that Vector2s, and Texture2Ds are classes/types, not built-in C# keywords =P)
  • 11/25/2008 12:15 AM In reply to

    Re: How do i learn all of the namespaces and classes associated with the xna framework?

    One thing you really should use is the object browser. Its an awesome asset. In VS 2005, go to View> Other Windows > Object Browser.

    This will basically show you all the classes available in your project and both the XNA and .Net frameworks. It also shows all methods available on the classes etc. I tend to use this as a first point of reference and then go look up the MSDN docs if i need more information.

    Get in the habit of using the search at the top left. If you see someone calling a static method that you don't recognise (like Convert.ToInt(xxx)) stick the class in the search and just have a look through the methods. Don't try and memorize them all. Instead, get a general feel for what that class does and remember that.

    In the example here, i dont need to know all the methods in the System.Convert class, i just need to know that it generally allows me to convert basic types. When i need to use it, i go back to the object browser to find the specific method i need.

    And dont forget Google! You may be surprised how much quicker sticking 'C# case statement syntax' into Google is as opposed to truding through the msdn =D
  • 11/25/2008 4:14 AM In reply to

    Re: How do i learn all of the namespaces and classes associated with the xna framework?

    sweet thanks for all the help....im working my way through a ton of tutorials iv found and i am working on making a couple simple 2D games of my own... this will realy help alot thank you.
Page 1 of 1 (6 items) Previous Next