Tutorials Thread
If it's not too much trouble, could this topic be stickied? I am just wondering if we could have a main thread that carries links to all the tutorials. In other words, someone makes a thread with a new tutorial, and then, they post the link to it here with a description of the tutorial. That way, others don't have to search through a whole forum for just one topic. Just an idea to make it easier on everyone.
On a side note, I plan on linking this thread to another thread titled: First XNA Program Development Team (FXPDT). Take a look at it. Thanks for your time. Also, I've added some tutorials for you all for now.
P.S. Since the tutorials are publicly viewed and linked to, I don't think you need permission to link to a new threat but be sure to put the person's handle name under the link just incase (although you see their handle in the thread, some people may want credit up-front).
Side Note: If you have a mini-game or something like that which you would like to share for others to learn from, be sure to extract the code onto notepad or another writing program so that the code can be viewed. Thanks.
Tutorials:
Scrolling 2D Background posted by George Clingerman: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=690582&SiteID=1
Spacewars Keyboard Mapping posted by somecrazyguy: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=690745&SiteID=1
Tile Mapping & other tutorials posted by Yeagermesiter: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=690099&SiteID=1
Audio Tutorial posted by Mark Coffman: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=690285&SiteID=1
Collision Detection thread started by hallscreations: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=683944&SiteID=1
3D importing thread started by Mehdi Mahdloo: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=689261&SiteID=1
Drawing in 2D Tutorial posted by andy0482: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=688813&SiteID=1
Animating Sprites & time0based animation threads started by detzX: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=687230&SiteID=1
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=687537&SiteID=1
Importing images with Transparency thread started by killfr0g: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=686055&SiteID=1
Rotating Camera thread started by Shane Lile: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=684939&SiteID=1
Simple Menus posted by bstoker: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=684748&SiteID=1
Drawing text thread started by Summoner: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=684843&SiteID=1
All Replies
- Thanks for that information very useful!
- No problem. I'll keep updating when possible.
Here's another one:
How to: Draw 3d Primitives: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=691849&SiteID=1&mode=1 by MatteusX
We figured out what our missing piece was from the 3d primitives tutorial, and at the time of this post, I'm still trying to figure a part of the tutorial out.
- 2D Pong Game Tutorial and Shader Sample here: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=691785&SiteID=1
This isnt really a tutorial, but neither are most of the other links posted
.
It has a good amount of comments though, on nearly every line.
It shows you how to create a bunch of 3d triangles and apply a basic custom vertex and pixel shader to them (created by me
):
http://www.xnaspot.com/Sample_ShaderExample.aspxhi,
VB.NET guys can download from my site : XNA code inculding Componet based game objects....
http://www.tridexconsultants.co.uk/pages/DirectxClasses.htm
or
http://www.tridexconsultants.co.uk/pages/downloads/XNA%20VB.NET.zip
wow components are fun!!!!
Thanks...
...Tridex..
Definetly, by all means, go here: http://www.thezbuffer.com/
I find anything I need
- Don't forget about www.learnXNA.com we have video tutorials for XNA and C# and just posted a tutorial on programming Pong.
- In spanish www.xna.animered.net in Animered Network :).
I've written up a short article on XNA Collision Detection using Quadtrees.
http://mbebenita.blogspot.com/
Here's my first go at an input manager component:
http://jjxtra.googlepages.com/InputManager.cs
Should provide anyone with the basics on how to work with the keyboard and mouse (and gamepad eventually once I finish that part).
Here are a few tutorials I have written
Visit www.ziggyware.com for the latest tutorials :)
XNA - 2D Per Pixel Collision Detection [NEW]
XNA - Custom Vertices
XNA - Drawing Text in XNA
XNA - Parallax Mapping [NEW]
XNA - Playing Audio in XNA
XNA - Rendering 2D Textures
XNA - Rotating a Sprite
XNA - Using Effect (FX) Files
XNA - Using the Mouse
XNA - Writing to Texture SurfaceAdded two more game samples today:
Simple overhead shooter game that uses per pixel collision detection, Text Rendering, keyboard input and mouse input (all covered in my previous totorials above)
http://www.ziggyware.com/readarticle.php?article_id=50
Simple game that drops letters down the screen and you clear them by typing the character :) Better be quick on the keyboard to make it thru this one :)
http://www.ziggyware.com/readarticle.php?article_id=49
The source code to the samples are very easy reading and should make for some valuable information to people writing 2D games.
- It's not up yet, but just wanted to give everyone a heads up that in a few days, or however long it takes me to clean my code up, I'm going to post a tutorial on a breakout clone.
The URL is http://www.bradleyjackson.net and you can see a screen shot of it already, and read a little bit about it on the 9-17-06 post. Not bad for not knowing C# and spending 1.5 hours to do it in XNA. If you have looked over some of the tutorials out there, and they gave you nothing, you might have one of two problems:
- You might not have programmed C# before, which most tutorials have as a prerequisite.
- You might be more of an audio/visual person than a reader, and you stare uncomprehending at a page of code with a few comments thrown in.
In either case, I've started putting together some video tutorials, which really start from scratch. You can find them at XnaTutorial.com.
- The tutorials at XnaTutorial.com are now also mirrored at Gregory's excellent LearnXna.com, in addition to some of Gregory's own videos. Check out his Pong tutorial.
Mark keeps a great list of tutorials as well, so check them out.
And David has the 'complete' list of sites on his blog.
- The tutorial and source code for my breakout clone are up, so be sure to check them out at http://www.bradleyjackson.net . Thanks a lot
- Wow M.Z.M. Thanks for the sum of tutorials there.
- Wow glad to see people are posting stuff here. Sad it's been unstickied. Harder thread to find now.

