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.
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
@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(texTotalWarfare, 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
@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. :)
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"
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
@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.
@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
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.
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
@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.
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?
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.
@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! :)
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.
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
@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.
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
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.
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.
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!
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.
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
@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.
@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.
@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.
@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.
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).
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.
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 ?
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 ^^.
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....
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.
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.
@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.
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 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?)
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.
oh my gosh this looks soooo much easier than java
Dillybar777 2 weeks ago
Silverljus.. Svensk?
Netaro1000 1 month ago
what programming language should a person know to work in XNA VS!! Your help would really be appreciated..
ninehoursful 3 months ago
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 3 months ago
@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.
silverljus 3 months ago
Thanks bro, helped a lot. Please make more vids concerning XNA.
CyclopsTelivision 3 months ago
@CyclopsTelivision Thank you, I'm glad it helped in any way.
silverljus 3 months ago
thanks a lot! But how do you memorize all of that?
AnimationSector 4 months ago
Grymt Fint =) Svensk lr hur? :D
HeaRtBeaT1337 4 months ago
do I have to use C#: I dont know how to code!
speedyeggbert2009 4 months ago
"Six-hundred forty times four-hundred eighty" :)
TheClayPidgeon 6 months ago
I wanna learn how to maek a gam3 w1th zombi3s in it!
Taxemicshadow 6 months ago
where can i find the Content tab its not in mine i have 2010 version
dudewolflag21 7 months ago
Hey guys. I was wanting to start up programming but i dont know much... Do you know where i should start?
ShadowEffect1337 7 months ago
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.
imacowoink 7 months ago
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 7 months ago
@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
guyon2342 4 months ago
Easy...Easy.... coding looks epically hard
Danielthephenom 8 months ago
PNG's got a compromise between JPEG's small file size and the command of each individual pixel that bitmaps have.
reaperofthedamned07 9 months ago
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
Hacky619 10 months ago
..Do we get any money if we make a good game? or do we only work for Microsoft ...FOR FREE?!
zeid012 10 months ago
@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.
AllButJustForgotten 10 months ago
spriteBatch.Draw(texTotalWarfare, 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 11 months ago
@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. :)
silverljus 11 months ago
@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"
BeyondDGrave 11 months ago
@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.
GnRJay08 3 months ago
Before you debug the codes; what tab do you click to put in the codesof the game?
junior1984able 11 months ago
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
oyyou91 11 months ago
can you play xna games on your pc
mats1e 11 months ago
@mats1e Yes you can :)
oyyou91 11 months ago
how do i see what i made?
vzIIBoberII 11 months ago
@vzIIBoberII F5 generally works
oyyou91 11 months ago
Awesome video !! Really nice job.....please see my video.....
kilroyfx 1 year ago
Your voice calms me. Great tutorial, i'm glad you made this tutorial as perfect as possible.
SaladGeek 1 year ago
I get an error when I type what you type at 5:05
It says "; expected" as an error. HELP?
TheAppleNinja 1 year ago
@TheAppleNinja i got the same thing =( someone plz help
bmccormick18 1 year ago
@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.
silverljus 1 year ago
C# is alot like Pascal
Jontecool98 1 year ago
@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
Abdullking100 1 year ago
This has been flagged as spam show
im a sweet gothic girl naneedj.info
hasanlolane 1 year ago
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 1 year ago
@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 1 year ago
@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
iToasterman 1 year ago
This has been flagged as spam show
du måste jhu vara svensk.
sirHaag 1 year ago
du måste jhu vara svensk.
sirHaag 1 year ago
@sirHaag stämmer bra :)
silverljus 1 year ago
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 1 year ago
@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 1 year ago
@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.
ltkdog 1 year ago
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 1 year ago
@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 1 year ago
@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
buzzboxed 1 year ago
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 1 year ago
@7715z u=fail
PunkymickBlah 1 year ago
@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.
MRKetter81 10 months ago
dark basic pro is funner faster and real eaisy
mystic81006 1 year ago
I did but I can't find the .exe file on the XNA start menu program
Ned609fan 1 year ago
I can't find XNA Game Studio on my computer and I installed it
Ned609fan 1 year ago
@Ned609fan
You need to have Visual C# or VIsual studio 2010 installed too
ivandonat 1 year ago
i dont know but you really explain this very well you should continue
spartanfighter9 1 year ago
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?
MrSean490 1 year ago
How powerful is the XNA engine?
And does it run good in good 3D?
MrSean490 1 year ago
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?
Zuinny 1 year ago
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 1 year ago 5
@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! :)
silverljus 1 year ago
@SilentAssaulTeam its not a language bro, it's a collection of libraries written for c#
HMSroyalgunner 10 months ago
@SilentAssaulTeam XNA is not a language...
Jarzka1990 5 months ago
@Jarzka1990
C# big deal, does it really matter?
SilentAssaulTeam 5 months ago
in what language was youe kayboard set ? english?
raino1000 1 year ago
@raino1000 Swedish keyboardlayout - makes it a bit simpler for me. But I don't use any Swedish-specific signs I think.
silverljus 1 year ago
hello ive been making a game and when i try to debug it it says the debug target dosent exist help please
Iguitar212 1 year ago
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 1 year ago
@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!
Pradipna 1 year ago
This has been flagged as spam show
do you know how to make tracks for nfs because nfs tracks are so heavy if we play without graphic card.
Arjun007ize 1 year ago
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.
TheYene 1 year ago
Could you make a tutorial on how to make a sports game? (in my case squash)
kodakalex 1 year ago
Hey, im a beginner, how do i do the thing where you seen your smiley?
uplusion22 1 year ago
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 1 year ago
@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 1 year ago
@silverljus
You are wrong there. C# is not based on Java. It may have similarities to Java, but C# is based of C++.
FlameDraz 1 year ago
@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 1 year ago
@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 1 year ago
@FlameDraz He was obviously on crack, and didn't follow through on any of his plans to base it on C++. :)
silverljus 1 year ago
@silverljus All Microsoft programmers are on crack. :D
FlameDraz 1 year ago
@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 1 year ago
@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.
SwitchRich 1 year ago
@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.
SwitchRich 1 year ago
@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.
workman845 1 year ago
@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 1 year ago
@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 1 year ago
@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 1 year ago
@narvoxx
How is saying that C# is made from C++ speaking about MS?
And Microsoft MADE the language C#.
FlameDraz 1 year ago
@narvoxx
Nonsense. Not true that it only works on windows either.
SwitchRich 1 year ago
@kryptynite76 You can use XNA with Basic.net too
Moissenjeff 1 year ago
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)
sniperownsuhard 1 year ago
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 1 year ago
@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!
silverljus 1 year ago
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
Cuccisoft 1 year ago
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.
monsterhunter445 1 year ago
Thank you so much. Ive done this so much im used to it now! keep making the tut!
CloudandZack1st 1 year ago
can you PLEASSEEEE make a tutorial on how to make controls to move and image!!!
CloudandZack1st 1 year ago
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
92309858 1 year ago
n1 ur very gooood
miwin94 1 year ago
what language does xna use to code? does it use c++? cause i only know c++
lucirz 1 year ago
@lucirz it uses C#.
lifelovingdude23 1 year ago
clickCLICKclickCLICKclickCLICK!!! That mouse sounds hardcore. I bet it could kill a man.
RavensCore20 1 year ago
no offence but i thought you said this was easy???????!!!!!!!
cailan232 1 year ago
@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 1 year ago 5
@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 1 year ago
@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 1 year ago
@crzykd1305 thx
cailan232 1 year ago
@cailan232 If you know how to use dotNET then, you it is easy..noob....
Agasthyasy 1 year ago
@Agasthyasy what the hell, you dont have to insult me??? >_<
cailan232 1 year ago
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 1 year ago
@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 1 year ago
@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#.
fermixx 1 year ago
Comment removed
redoubt9000 1 year ago
what's the difference in C# and C++?
Mikkel8240 1 year ago
@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 1 year ago
@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 1 year ago
@mysteryloser24 To be fair, I got my information from Wikipedia, as I always do.
TheAssailant6661 1 year ago
@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 1 year ago
@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 1 year ago
@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 1 year ago
@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 1 year ago
@TheAssailant6661 Yup, Intellisense is definately a great addition to the programming world. It's helpful in many ways. And it's Ok dude.
mysteryloser24 1 year ago
Very informative, great explanation of SpriteFont! Look forward to more tutorials! 5/5
karatepopcorndefendr 1 year ago
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).
RoyTriesscheijn 1 year ago
@SwordGames hes not using mspaint
hes using paint dot n e t
nodvick 1 year ago
you showed us how to load...how do I unload the stuff..
Slatius 1 year ago
What is the get; set; after you initialize the 2d texture variable....
Slatius 1 year ago
that would be much easier to do on flash!
just kidding :P thank you for the video, it was really helpful!
limaa91 1 year ago
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.
Jevousza 1 year ago
Your vid was more blurry after i clicked the high quality link
kw1ksh0t 2 years ago
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.
silverljus 1 year ago
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
WiggyRap 2 years ago
Yes You Can...But You Need A Premium Account Which Is Available On Xbox Live marketplace For 49.99$
SFGRecordsPresents 2 years ago 2
do you need a graphic card?
marsmac007 2 years ago
asså behöver nån Student ID...
azerosonics 2 years ago
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 2 years ago
@DANNYSPIKEYBOI911
All C languages are closely related. C, C++, and C# are all similar. Its how they were designed.
adood101 2 years ago
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 ^^.
DANNYSPIKEYBOI911 2 years ago
no, xna is only for c sharp "C#" sorry..
MrJezez 2 years ago
how you rename all the names at same time?
MystickManiac 2 years ago
can i use visual studio 2008 "express"?
thishero975 2 years ago
yes
TombRaiderQuests 2 years ago
of CÓURSÉ
MrJezez 2 years ago
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...
thesamuraikuma 2 years ago
Comment removed
LolzIownU 2 years ago
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 2 years ago
@iDiffuse Set your graphic card hardware acceleration to maximum.
Display properties > Settings > Advanced > Troubleshoot > Hardware Acceleration
vaziocs 2 years ago
My Acc. is at the max, but thanks
iDiffuse 2 years ago
What programs did you use, and more specifically, what type of visual studio (C#, premium, etc.) do you recommend for free?
iDiffuse 2 years ago
I'm assuming C#, now my question is, did you use Express?
iDiffuse 2 years ago
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.
silverljus 2 years ago
for professional edition how much did you buy it?
jaksonz 2 years ago
When i click new on paint mine dont do that setting screen
I just get a new blank page
doomz271291 2 years ago
very informative! thank you for posting the video
Shroomsoft 2 years ago
when i click new it wont take me to those settings
GTALLNIGHT 2 years ago
Please be more specific, I don't recall my full video since it's more than 1 year old. Do you mean "new project"?
silverljus 2 years ago
nvr mind i found a diff way
GTALLNIGHT 2 years ago
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.
stufa1978 2 years ago
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 2 years ago
@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.
stufa1978 2 years ago
You're lucky... mine is slow :(
katt157 2 years ago
@katt157
My PC is slower than a slug on a zimmer frame.
stufa1978 2 years ago
@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 2 years ago
@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.
stufa1978 2 years ago
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?
MrJezez 2 years ago
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?)
notekkkk 2 years ago
thnks jus havin problem with the text
SoFreshBlaze 2 years ago
can u use JAva?
theoneandonlyhut 2 years ago
from what I know, nope.
silverljus 2 years ago
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..
1251x 2 years ago
does this cost me anything
elementdude94 2 years ago
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!
silverljus 2 years ago
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
cptblackhawk 2 years ago
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.
aldex123 2 years ago
100$ a year for the mebership