Added: 3 years ago
From: silverljus
Views: 72,564
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
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..

  • 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.

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

  • Grymt Fint =) Svensk lr hur? :D

  • do I have to use C#: I dont know how to code!

  • "Six-hundred forty times four-hundred eighty" :)

  • I wanna learn how to maek a gam3 w1th zombi3s in it!

  • where can i find the Content tab its not in mine i have 2010 version

  • Hey guys. I was wanting to start up programming but i dont know much... Do you know where i should start?

  • What button did you press in order to bring down the menu to change all instances at 1:40? Also, did you press F5 at the end when you said "Let's run"? I was searching for a button labeled "run" for a while.

  • Ergh i hate my college, on doing a Games development course, but they are teaching us to code in Basic which is useless :( hmm guess i should start teaching myself C#

  • @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

  • Easy...Easy.... coding looks epically hard

  • PNG's got a compromise between JPEG's small file size and the command of each individual pixel that bitmaps have.

  • I am selling XNA 12 month codes( lets you get free games for xbox 360 legally ) this is valued at 100 USD please message me

    @theshoe413

  • ..Do we get any money if we make a good game? or do we only work for Microsoft ...FOR FREE?!

  • @zeid012 Its called personal mastery. I bet even if you didnt get paid, if a million people have downloaded and played your game, You'd continue programming. Because you become better at it, Its like playing guitar. You dont make any money off of it in the beginning, but you'll play for friends and family to show progress. Mastery.

  • 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. :)

  • @iflyykid

    The parameter which uses a "texture" class/structure is not valid. Make sure that your texture class/structure variable is set to a value. The compiler is saying "Wait, what are you trying to send this? It is not set to anything, so how can I use it to modify other variables, etc"

  • @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.

  • Before you debug the codes; what tab do you click to put in the codesof the game?

  • Hello! I'm creating my own videos showing how to use XNA, they are short and explained.. If anybody wants to view 'em then just visit my channel.. Thanks! :D

  • can you play xna games on your pc

  • @mats1e Yes you can :)

  • how do i see what i made?

  • @vzIIBoberII F5 generally works

  • Awesome video !! Really nice job.....please see my video.....

  • Your voice calms me. Great tutorial, i'm glad you made this tutorial as perfect as possible.

  • I get an error when I type what you type at 5:05

    It says "; expected" as an error. HELP?

  • @TheAppleNinja i got the same thing =( someone plz help

  • @bmccormick18 If it says ";" expected it's either that you've missed out on a ";" ending a string. It could also be a result of different things like typing a command that doesn't exist or the like. Just be sure to end the line with a semi-colon. It's hard to troubleshoot if that's not the case, maybe it's some other row missing a semi-colon or maybe it's because of a missing bracket.

  • C# is alot like Pascal

  • @silverljus why dont you creat a game ?? I want to create one but i think its too hard i would like to create a fighting game a beat'em Up with the engine same looking like the one from dust elysian tale

  • These are helpful! :D Welcome to my friend list (btw im working on geting zune so im making a two platform 2d game remake ^_^)

  • @iToasterman Thank you, and that's great! I'm glad if anything I did inspired, if not - it's still great that people code and make games :)

  • @silverljus im not working in XNA no more... well for now, i rather go cross platform :D like a web based / java based thing but yea d(^_^)b

  • du måste jhu vara svensk.

    

  • @sirHaag stämmer bra :)

  • Im trying to download XNA game studio 3.1 and when i ste it up a problem comes up when it is about to install it. A dialouge box shows up about stuff i just dont understand. Can you help?

  • @ltkdog Sorry, I'm not all that good at solving troubleshooting, I'd google the text the errormessage gives you and see if there is a solution out there. I hope that helps!

  • @silverljus Yea thanks but i still didn't get a good answer that i could understand, ill try downloading it on my xp but the bad part is that i dont have a shader model 1.1 but i know a program that helps the shader model.

  • when i compile graphics like a sprite with xna i get a slight jerking when it moves i compiled other examples that scroll the background and it happens again...is there something wrong with my setup or what?

  • @buzzboxed Could it be your code doing something weird? Some position that jumps in numbers or so? I don't recall having any similar problem myself, even low-end computers should be able to handle multiple thousands of sprites on the screen very smoothly.

  • @silverljus

    thanx for the response actually i am talking about the examples that microsoft provides and.. other people.i have searched and found that many people have this problem and something is wrong with the framework...i was sure my pc could handle a lot more than one sprite but with xna the scrolling is not smooth it jumps a frame once and a while even an amiga could provide smooth scrolling.i am very surprised about it.people say that it has something to do with the screen's refresh rate

  • FUCK C#!! C++ FTW!!

    I started with C++ my game development and i didn't undo! C# is gay it reqs .net and its not powerfull as C++!

    btw dude the retard who was creating C# was basing it on c++..

  • @7715z u=fail

  • @7715z Yeah stick to C++ as a high level language if you want your games to run smoothly.. All these trendy new scripts do is add lag and bottle-neck the GPU/CPU.

  • dark basic pro is funner faster and real eaisy

  • I did but I can't find the .exe file on the XNA start menu program

  • I can't find XNA Game Studio on my computer and I installed it

  • @Ned609fan

    You need to have Visual C# or VIsual studio 2010 installed too

  • i dont know but you really explain this very well you should continue

  • Also uh, my only "programming" experience is with Game Maker, which has it's own inbuilt language called GML. It also had a drag and drop system, which I used for a bit before getting into the actual programming part. But apart from that I don't really have any programming experience, but can I still learn XNA or will I need to learn a lot more?

  • How powerful is the XNA engine?

    And does it run good in good 3D?

  • Yeah, so, I followed this step by step, and I looked over each step twice.

    At the end, when I try and build the program, nothing pops up on the screen.

    What should I do?

  • Thank you so much for your help, I am taking Game Design and Development in my school, and we are going to learn XNA for our final project, and because it is such a big language, most game designing companies require some stnadard knowledge of XNA or C++. I must again say thank you.

    Sincerely,

    SilentAssaultTeam

  • @SilentAssaulTeam I'm glad I could help in any way, eventhough It's quite a small intro to XNA. I wish I had time for more of it. My best friend took a Game Design course for two years, it's really great to see games coming out of those schools. They really inspire! So keep inspiring! :)

  • @SilentAssaulTeam its not a language bro, it's a collection of libraries written for c#

  • @SilentAssaulTeam XNA is not a language...

  • @Jarzka1990

    C# big deal, does it really matter?

  • in what language was youe kayboard set ? english?

  • @raino1000 Swedish keyboardlayout - makes it a bit simpler for me. But I don't use any Swedish-specific signs I think.

  • hello ive been making a game and when i try to debug it it says the debug target dosent exist help please

  • i know well C (not C#), and i learned a few basic things on object oriented programming using C++, can ayone tell me what else do i need to know to start with xna game studio?

  • @n1c4nh4ckm3 Hi, XNA doesn't use C/C++, so you will have to learn C#, which is not that hard if you know C/C++. If you want to do game programming in C/C++ you need to learn graphics API like OpenGL or DirectX which is difficult than XNA but if you want to make a career in game programming, you need to learn it. Good luck!

  • It might look advanced but when it comes to OOP programming, in most case you just need to know which object to create and which method to invoke, b/c most of the hard-work is been done before hand. Think of it like this "when ever you want to drive a car, you don't need to create ONE FROM SCRATCH". JUST NEED TO KNOW HOW TO DRIVE IT. no mater what type of car it might be.

  • Could you make a tutorial on how to make a sports game? (in my case squash)

  • Hey, im a beginner, how do i do the thing where you seen your smiley?

  • I am a beginner programmer that knows how to use the BASIC programming language. I have heard that to use XNA, one must know the C# programming language. Compared to BASIC how much is different and if I am a beginner should I study other programming languages before I decide to look into C# and using XNA? If you could reply I would greatly appreciate it, because I am looking at this being my major for highschool :)

  • @kryptynite76 My first language was a BASIC-like language, and I'm sure it's a good platform from which you can jump to C# nowadays, but the main difference is that C# is an object-oriented language. Which I find much simpler nowadays, but absolutely, read up on C# - do basic examples. You'll be proficient enough to dabble with XNA in no time. C# is based on Java, so check Java out if you wish, but it's definitely not necessary. Thanks for watching my vid. :) cheers

  • @silverljus

    You are wrong there. C# is not based on Java. It may have similarities to Java, but C# is based of C++.

  • @FlameDraz I am eager to hear you explain this for me. After programming all three languages, I see no similarities between C++ and C# except the name which both have a "C" in it. The rest, except for a casing-difference in naming-policy, is identical to Java.

  • @silverljus

    Yes there are 'lots' of similarities between Java and C#. But the guy who was making the language C# was basing it off C++. He didn't use Java as a reference or anything. Just wanted to point that out. :D

  • @FlameDraz He was obviously on crack, and didn't follow through on any of his plans to base it on C++. :)

  • @silverljus All Microsoft programmers are on crack. :D

  • @FlameDraz

    Java was a new and improved version of C++, and C++ was a new and improved version of C. When C# was made it was basically a new and improved version of Java, but since its real roots were in the C language (not the Java language because Java is essentially an upgrade of C itself) the name C# was given to it.

    Hope that makes sense lol...

  • @IAmARefrigerator

    I certainly wouldn't ay that Java was a 'new and improved version of c++'. It's a different language but with many common aspects. For much of the work which I was involved in Java wouldn't have been suitable for various reasons. I wouldn't describe c# as a new and improved version of Java either, although the designers have clearly drawn influence from both c++ and Java when designing it.

  • @silverljus I coded professionally in c++ for many years before moving on to c# and I found the transition to be very easy. I honestly can't understand why you can't see the similarities between c++ and c# - there are many. Pointers along with multiple inheritence naturally differ, but the constructs are very similar and it lends itself to a similar programming style on the whole.

  • @silverljus identical? inheritance for one is different...

    Java uses the keyword extends whereas C# uses the symbol :

    A lot of languages, are a lot like other languages, but there is always differences in what you can do with them, how they compile code, and the syntax to use them.

  • @FlameDraz lmao, dude, C# is java.

    Windows took java, adapted it to fit windows better, and then named it C#.

    The result is a java-like programming language called C# that works only on windows.

  • @narvoxx

    "Anders Hejlsberg has argued that C# is "not a Java clone" and is "much closer to C++" in its design."

    from Wikipedia ( C Sharp )

  • @FlameDraz whada ya know a dude that works for MS speaks in favor of MS, it must be true even though it isn't!

  • @narvoxx

    How is saying that C# is made from C++ speaking about MS?

    And Microsoft MADE the language C#.

  • @narvoxx

    Nonsense. Not true that it only works on windows either.

  • @kryptynite76 You can use XNA with Basic.net too

  • 3 things to say about these tuts.... -_-

    #1 try and slow down more before moving away after weighting code

    #2 please make more tutorials

    #3 thanks for showing how easy this is! (liked)

  • You need to slow down on your showing of your typing. If someone is trying to follow along you are going way to fast to keep up. Take time to show us what you typed before jumping somewhere else in your code. Thanks.

  • @benjamin805 Thanks for the tips, I will take it to heart. To my defense it's hard not to rush when you have a lot to say and you only get 10 minutes to say it. Those minutes just fly by as you record and show stuff - it's a really weird new experience. Your point is taken though, thanks!

  • dude so better in Visual Basic i can do in 2 minutes something better than this hole thing here....it's hard and u do this fr nothing

  • Wow thanks a lot, this is really easy... I guess maybe because I've been programming for about a year in C++.Net. Any way great tutorial, I really learned.

  • Thank you so much. Ive done this so much im used to it now! keep making the tut!

  • can you PLEASSEEEE make a tutorial on how to make controls to move and image!!!

  • NICE VID there real good.only 1 problem ur a pro i can see that but pls a little bit more slowly with the movement and stuff . i get confused halfway .just downloaded it yesterday cuz i don want to buy games .thx though i managed to get trough

  • n1 ur very gooood

  • what language does xna use to code? does it use c++? cause i only know c++

  • @lucirz it uses C#.

  • clickCLICKclickCLICKclickCLICK­!!! That mouse sounds hardcore. I bet it could kill a man.

  • no offence but i thought you said this was easy???????!!!!!!!

  • @cailan232 well, I guess I sort of thought long-term programmers would take an interest in XNA, but to my joy there's a lot of different level-programmers taking interest in XNA so I apologize for my speedy judgement. It is however a kind of easy to understand system instead of using OpenGL, Ogre and so forth - in my experience. XNA handles a lot of things for you in the background and C# is a nice and easy language. Just keep taking one step at a time and keep at it. :)

  • @silverljus ok, thx, see plan (although unlikely) to try and get into the games industry, i've had experience with computer internal hardware since i became an IT technician when i was 24. i appreciate all the advice.

  • @cailan232 it is easy, in the context of programming at least.

    when you do everything from scratch its much more difficult. give it time and you'll adjust.

  • @crzykd1305 thx

  • @cailan232 If you know how to use dotNET then, you it is easy..noob....

  • @Agasthyasy what the hell, you dont have to insult me??? >_<

  • is xna just an api for c style languages ?

    so basically i should learn c++ first, and then learn how to use this api ?

    i only know java a little bit

  • @fermixx With this type of coding and game design, learning C++ would be pointless, because that isn't the language used here. This language is C# or C Sharp and is really simple and easy to learn.

  • @mysteryloser24 i've been investigating and it seems that is easier for a java game developer to go c# rather than a c++ developer to go c#.

  • Comment removed

  • what's the difference in C# and C++?

  • @Mikkel8240 C# and C++ are very similar, but C# is more refined and a major goal was to simplify C++. Additionally, if you look at the sharp sign as four +s, then you see that C# is basically C++++, i.e. "better" than C++.

    If you know C++ you'll just need some time to get used to the slightly modified language, but you'll be able to pick it up fairly easy.

  • @TheAssailant6661 C++ and C# are nothing like eachother... C++ is a much much harder language to learn, and C# is object orientated. Everything is layed out simply and straight forward. You hardly even need to learn much with C# as it does everything for you basically. Especially within Microsoft C# itself, with the intellisense feature adding the right code for you.

  • @mysteryloser24 To be fair, I got my information from Wikipedia, as I always do.

  • @TheAssailant6661 The differences are huge when you think about it. C++ is a language. Using it takes more time and there is more to learn with it. You have to do everything from scratch and then get a compiler to see what you just did. With C#, which is a program from Microsoft, you design visually, then click on controls and add the code to them that way. You can do a lot with both, but C# is so much more simple, as you can see what you are doing, and the language itself is much more simple :)

  • @mysteryloser24 Sorry, that's just not right. C# IS a language. It borrows from C, C++ and VBasic. WPF and Silverlight are the only runtimes that allow for a designer. XNA has to be built 100% by code (or with the help of a game engine). C# and C++ are both object-oriented, but C# is more so than C++ and is a lot easier to learn than C++.

  • @TheAssailant6661 I was talking about the microsoft program that deals with the C# language, Visual C#. I never said C# isn't a language. If I were you I would let this go anyway dude, you're talking to the manager of a software company here...

  • @mysteryloser24 Oh, I didn't realize that's what you meant by Microsoft C#. I thought you were talking about the language since it was Microsoft who developed it.

    Personally I think Intellisense is the best thing to happen to programming. Since C# is case-sensitive, having Intellisense avoids many compile errors that make programming similar to typing a paper in MS Word or OO.o Writer and for beginners like me, I can avouid common mistakes like forgetting a bracket or semi-colon.

  • @TheAssailant6661 Yup, Intellisense is definately a great addition to the programming world. It's helpful in many ways. And it's Ok dude.

  • Very informative, great explanation of SpriteFont! Look forward to more tutorials! 5/5

  • You can use full magneta (r:255, g:0, b:255) and set SpriteblendMode to SpriteBlendMode.AlphaBlend in SpriteBatch.Begin(...) (it has a couple of overloads).

  • @SwordGames hes not using mspaint

    hes using paint dot n e t

  • you showed us how to load...how do I unload the stuff..

  • What is the get; set; after you initialize the 2d texture variable....

  • that would be much easier to do on flash!

    just kidding :P thank you for the video, it was really helpful!

  • Thanks for the video man. Been looking to get back into game development (haven't done anything in a few years and my brain has become lazy), and XNA game studio looks like something I'd like to use.

  • Your vid was more blurry after i clicked the high quality link

  • Yeah I need to update the text, the video is from November 1st, 2008 when the HD support was still awful and you had to make special links for it to work properly, nowadays the support is much better.

  • is it possible that if you would be very experienced with coding in 3D can you make a full story game for Xbox 360 or can you only make an arcade game ?

    PLEASE REPLY

  • Yes You Can...But You Need A Premium Account Which Is Available On Xbox Live marketplace For 49.99$

  • do you need a graphic card?

  • asså behöver nån Student ID...

  • Can you code this with C++ or Java? Cause thats the only languages I know and i dont want to take the effort of learning another....lol

  • @DANNYSPIKEYBOI911

    All C languages are closely related. C, C++, and C# are all similar. Its how they were designed.

  • Yes I am well aware of this, it is just I don't want to learn the syntax of others lol cuz I am a lazy one. On the other side, I would of also guessed since C++ and C# are derived from C I can guess that if you learned C before C# and C++ you would have an easier time learning. ( Though this has been discussed by many ). I started with Java, and thought learning C++ would be WAY to hard, then after trying it and knowing Java fairly well, it was childs play ^^.

  • no, xna is only for c sharp "C#" sorry..

  • how you rename all the names at same time?

  • can i use visual studio 2008 "express"?

  • yes

  • of CÓURSÉ

  • Jesus... I just started coding in C#, and if it wasn't for that help guide that came with XNA, I wouldn't have even gotten this far...

  • Comment removed

  • Now I got two more questions for you, can I do this program on Express (C#) or does it need to be modified. 2nd, for some reason it says my graphics card isn't good enough, it's probably a default requirement no matter what the program is but I was wondering if I could change this setting so the graphics requirement isn't as high. It says I need a 1.1 pixel shader....

  • @iDiffuse  Set your graphic card hardware acceleration to maximum.

    Display properties > Settings > Advanced > Troubleshoot > Hardware Acceleration

  • My Acc. is at the max, but thanks

  • What programs did you use, and more specifically, what type of visual studio (C#, premium, etc.) do you recommend for free?

  • I'm assuming C#, now my question is, did you use Express?

  • No, I have Microsoft Visual Studio 2008 Professional Edition. I've used Express far too little to know the perks of getting the Professional version. Start with Express and get the Professional if you feel restricted, or read up on the difference and decide.

  • for professional edition how much did you buy it?

  • When i click new on paint mine dont do that setting screen

    I just get a new blank page

  • very informative! thank you for posting the video

  • when i click new it wont take me to those settings

  • Please be more specific, I don't recall my full video since it's more than 1 year old. Do you mean "new project"?

  • nvr mind i found a diff way

  • I know very little about computers. But if I get this straight. You can use an Xbox to make these XNA games.

    I'm know I won't be churning out games over night but I have some ideas for games wich I'm amazed no-one's done yet.

    Thanks for the vid, I'll do some investingation.

  • No, you don't make the games on an xbox 360, you make them for the xbox 360 on a pc using visual studio (optional) and XNA Gamestudio. If you have ideas you can always try recruiting programmers to aid you as well if the plan is solidly documented someone might take it on.

  • @silverljus

    Ah thank you.

    I may have to do some upgrading then. The PC I'm on now I have to chuck coal on it. Cheers.

  • You're lucky... mine is slow :(

  • @katt157

    My PC is slower than a slug on a zimmer frame.

  • @stufa1978 hi i have been designing games using mvc# and i have published some games for zune. if you have any ideas that you could share then i would be happy (if its a good idea) to share your name on the game if published on xbox live.

  • @runescapeways

    Cheers, One day I hope to produce games too. But I'll send a few ideas which I'm sure hasn't been done before.

  • ok, thx for the vid but did you learn c# from books, guides or from schools and did you first learn text based application and then windows form app and now with nxa.

    I wanna know cuz I'm learning this now?

  • Why is everything different for mine?

    i followed you exanctly, but when you said, " wait, i am not done....(6:29)..", - as you scrolled down, i did too. but there was nothing under that. (And some of the codes, are - showing a red zig zag, underneath. (what should i do?)

  • thnks jus havin problem with the text

  • can u use JAva?

  • from what I know, nope.

  • Can I use Vicusal C# 2008 for this tutorial?

    I got to about 5:25 of the video, and whenever I click C#'s Properties, it's nothing at all like what you have showing, and now I'm kinda stuck..

  • does this cost me anything

  • i think you can get microsoft visual studio express for free still and the XNA framework is free to play around with. so yeah sure!

  • Both xna and visual studios is free. Why? because they need to give a little to see if they can hook you into purchasing their pro verison

  • Well... XNA is free if you make PC games with it... it's supposed to be used to make commercial games... but that's not the case for the Xbox 360 games... you have to have the membership to post your game online. But it's free for you to download and create games for either platform.

  • 100$ a year for the mebership