Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How To - Start With XNA

Loading...

Sign in or sign up now!
72,497
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 1, 2008

Hi! My name is Hampus and I feel that XNA is darn easy to work with and I know there might be people out there who have been thinking "I'd like to make a game, but it's probably too hard.". Well, it's not super-easy ofcourse, because there's a lot of hard work you have to put in to it. I recommend that if you don't understand most of the things in this video, you have to learn how to code normal applications in say Visual Studio to begin with.

I hope you find this video inspiring in the sense that you get to see just how easy it is to put something on a screen in XNA.

  • likes, 13 dislikes

Link to this comment:

Share to:

Uploader Comments (silverljus)

  • real simple question. At about 1:45 you renamed Game1 to MyXNAGame. Then you renamed all instances of Game1. What did you push to do that? I'm using studio2010, I tried right click, tab, and a few others and cannot find the option.

  • @mtp1717 Didn't think about how I missed explaining that "trick", you press ALT+SHIFT+F10 and you get the options listed that you saw. I think you need to have the marker on the text underlined with the wavy red for it to work.

  • Thanks bro, helped a lot. Please make more vids concerning XNA.

  • @CyclopsTelivision Thank you, I'm glad it helped in any way.

  • spriteBatch.Draw(texTotalWarfa­re, new Vector2(10f, 10f), Color.White); thats my code but when i try to test the game it says: This method does not accept null for this parameter. Parameter name: texture

    can anyone help

  • @iflyykid Your texture texTotalWarfare isn't loaded, you need to content-load it. You might be using it before it's loaded, if you have the texture-loading code already in. Hope that helps. :)

see all

All Comments (256)

Sign In or Sign Up now to post a comment!
  • oh my gosh this looks soooo much easier than java

  • Silverljus.. Svensk?

  • what programming language should a person know to work in XNA VS!! Your help would really be appreciated..

  • @iflyykid you could try doing the same thing but add a comma and then write null, so , Null after the Color.White.

    If it's saying it doesnt accept null, then look up what the last variable is and experiment entering different values for it.

  • thanks a lot! But how do you memorize all of that?

  • @SDShadowsoldier indeed, i dont think VB coding is going to get you anywhere :s I'm starting a Game Technology study next year and we learn C# under XNA environment immediately there :D

View all Comments »
Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more