XNA Programming Tutorials
Moderator: Coders of Rage
- EccentricDuck
- Chaos Rift Junior
- Posts: 305
- Joined: Sun Feb 21, 2010 11:18 pm
- Current Project: Isometric "2.5D" Airship Game
- Favorite Gaming Platforms: PS2, SNES, GBA, PC
- Programming Language of Choice: C#, Python, JScript
- Location: Edmonton, Alberta
XNA Programming Tutorials
Hey, just wondering if anyone else who's looked at tutorials for XNA finds the quality of code in the tutorials to be sub-par. It's not that things are poorly presented or explained in videos/text that walks through it, but the code in many of their videos and examples really showed me what spaghetti code is. They have some bits of logic where a method references methods in other classes that reference methods in other classes that reference values in other classes that references a value in the original class, that's dependent upon a method call to another class... and so on.
Basically, if you want to truly understand what's going on you sometimes need to follow a trail of method calls in different classes that reference each other - finally coming full circle back into the class you were initially looking at for some value (and in some cases this goes back and forth multiple times). It makes it frustratingly difficult to understand the game logic they're using so that I can make my own classes, and I hate copying and pasting (especially if I don't fully understand what's going on).
Basically, if you want to truly understand what's going on you sometimes need to follow a trail of method calls in different classes that reference each other - finally coming full circle back into the class you were initially looking at for some value (and in some cases this goes back and forth multiple times). It makes it frustratingly difficult to understand the game logic they're using so that I can make my own classes, and I hate copying and pasting (especially if I don't fully understand what's going on).
- MrDeathNote
- ES Beta Backer
- Posts: 594
- Joined: Sun Oct 11, 2009 9:57 am
- Current Project: cocos2d-x project
- Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
- Programming Language of Choice: C/++
- Location: Belfast, Ireland
- Contact:
Re: XNA Programming Tutorials
I've never really noticed that at all, I learned alot from online tutorials when i started with XNA a couple of years ago. I used alot of sites and very rarely found that the code was hard to understand, but i always used text tutorials, never videos. I find that it takes a lot longer and is a lot harder to understand. Also if things are explained well i.e. the concepts behind it, then you should be able to understand the code or at least be able to write your own to do the same thing.EccentricDuck wrote:Hey, just wondering if anyone else who's looked at tutorials for XNA finds the quality of code in the tutorials to be sub-par. It's not that things are poorly presented or explained in videos/text that walks through it, but the code in many of their videos and examples really showed me what spaghetti code is. They have some bits of logic where a method references methods in other classes that reference methods in other classes that reference values in other classes that references a value in the original class, that's dependent upon a method call to another class... and so on.
Basically, if you want to truly understand what's going on you sometimes need to follow a trail of method calls in different classes that reference each other - finally coming full circle back into the class you were initially looking at for some value (and in some cases this goes back and forth multiple times). It makes it frustratingly difficult to understand the game logic they're using so that I can make my own classes, and I hate copying and pasting (especially if I don't fully understand what's going on).
http://www.youtube.com/user/MrDeathNote1988
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: XNA Programming Tutorials
XNA WHA!? YOU'RE BANNED 4 LYFE!!!!
Nah, but forreal. When we were doing our research on the separating axis theorem, we referenced an XNA/C# implementation that we found somewhere on a blog on the web. It wound up being COMPLETELY WRONG, and I personally spent hours rewriting the bastard in C/++ just to find out that they didn't know what they were doing with linear algebra... So yeah, some quality tutorials would definitely be nice to have around these parts. I will add them to the education index.
Nah, but forreal. When we were doing our research on the separating axis theorem, we referenced an XNA/C# implementation that we found somewhere on a blog on the web. It wound up being COMPLETELY WRONG, and I personally spent hours rewriting the bastard in C/++ just to find out that they didn't know what they were doing with linear algebra... So yeah, some quality tutorials would definitely be nice to have around these parts. I will add them to the education index.
- MrDeathNote
- ES Beta Backer
- Posts: 594
- Joined: Sun Oct 11, 2009 9:57 am
- Current Project: cocos2d-x project
- Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
- Programming Language of Choice: C/++
- Location: Belfast, Ireland
- Contact:
Re: XNA Programming Tutorials
I must have gotten very lucky with the tutorials i was looking at lol.
http://www.youtube.com/user/MrDeathNote1988
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: XNA Programming Tutorials
I would guess so. Everything I've looked up regarding C#/XNA since we started our CS group project has pretty much been complete garbage. It's very rare that I find anything useful in those tutorials, and when I do it's usually a small snippet of "AHA!" code.MrDeathNote wrote:I must have gotten very lucky with the tutorials i was looking at lol.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- EccentricDuck
- Chaos Rift Junior
- Posts: 305
- Joined: Sun Feb 21, 2010 11:18 pm
- Current Project: Isometric "2.5D" Airship Game
- Favorite Gaming Platforms: PS2, SNES, GBA, PC
- Programming Language of Choice: C#, Python, JScript
- Location: Edmonton, Alberta
Re: XNA Programming Tutorials
Whew, so it's not just me. MrDeathNote, you must've found some good ones. The ones I've been using primarily have been the actual Microsoft ones, though there's the occasional foray into user made ones. The Microsoft ones are usually terribly convoluted and poorly structured, and everything else pretty much completely lacks any sort of object oriented structure.
You have to admit though, it is a pretty good framework It's no replacement for building your own engine, but for a guy making his first serious attempt at a game going solo I think it does the job really well.XNA WHA!? YOU'RE BANNED 4 LYFE!!!!
-
- Chaos Rift Junior
- Posts: 200
- Joined: Mon Feb 22, 2010 12:32 am
- Current Project: Breakout clone, Unnamed 2D RPG
- Favorite Gaming Platforms: PC, XBOX360
- Programming Language of Choice: C#
- Location: San Antonio,Texas
- Contact:
Re: XNA Programming Tutorials
That's my quandary. I'm doing practically everything solo. I'll farm out the artwork and music, but the programming will be all on me. If I was able to get a team together, it might be different, but for now what I have will work.
But, I digress. Much of what I found was very hard to understand as well, especially for someone new to XNA. I would get the gist of what they were doing but tracking down code to modify certain aspects of it were more difficult than they should have been.
But, I digress. Much of what I found was very hard to understand as well, especially for someone new to XNA. I would get the gist of what they were doing but tracking down code to modify certain aspects of it were more difficult than they should have been.
Re: XNA Programming Tutorials
I haven't done too much with XNA, but the best XNA tutorials I have been able to find would be RB Whitaker's:
http://rbwhitaker.wikidot.com/xna-tutorials
I was never able to find this through a standard google search, I found it while looking up stuff regarding particle systems. So, I hope it can be of use =D
http://rbwhitaker.wikidot.com/xna-tutorials
I was never able to find this through a standard google search, I found it while looking up stuff regarding particle systems. So, I hope it can be of use =D
- EccentricDuck
- Chaos Rift Junior
- Posts: 305
- Joined: Sun Feb 21, 2010 11:18 pm
- Current Project: Isometric "2.5D" Airship Game
- Favorite Gaming Platforms: PS2, SNES, GBA, PC
- Programming Language of Choice: C#, Python, JScript
- Location: Edmonton, Alberta
Re: XNA Programming Tutorials
Wow, thanks for the link. I went to take a look at some of his stuff, and it looks really good. I think I'll be using some of those.XianForce wrote:I haven't done too much with XNA, but the best XNA tutorials I have been able to find would be RB Whitaker's:
http://rbwhitaker.wikidot.com/xna-tutorials
I was never able to find this through a standard google search, I found it while looking up stuff regarding particle systems. So, I hope it can be of use =D
Re: XNA Programming Tutorials
Yeah, with how great those tutorials look compared to most of the others I've found, I'm surprised you can't find it within the first few results from searching 'XNA tutorials'.
I had to make sure I bookmarked that link, so I didn't lose it haha
I had to make sure I bookmarked that link, so I didn't lose it haha