XNA Game Programming Adventures has moved!

New location is http://gameprogrammingadventures.org. Please update your book marks. You will be automatically redirected in 5 seconds.



XNA Game Programming Adventures
News Page

February 10, 2012
Been a long time since I've added a new tutorial but the last tutorial in my beginner's Break Out tutorial is now online. This tutorial covers collision between the ball and the bricks. I also show how to have the ball start at a random direction rather than the same direction all the time and have it speed up over time. You can find the link to the tutorial on the XNA 4.0 Beginner Tutorials page of my site.

August 12, 2011
Tutorial 31 in my XNA 4.0 RPG tutorial series is now live. In this tutorial I made a few updates to the tile engine that will make many things easier to deal with down the road. As always you can find the link to the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

August 11, 2011
I have uploaded tutorial 30 in my XNA 4.0 RPG tutorial series. In this tutorial I updated weapons to use the damage effect classes that I created. As always you can find the link to the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

July 27, 2011
I just finished and uploaded tutorial 29 in my XNA 4.0 RPG tutorial series to the site. I added in the code to work with resistances and weaknesses when it comes to damage effects. As always you can find the link to the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

I'd also like to thank all of those who have given a donation to XNA Game Programming Adventures. I do truly appreciate your generosity.

July 20, 2011
I have finished and uploaded tutorial 28 in my XNA 4.0 RPG tutorial series to the site. This tutorial covers adding in spells and effects for spells and talents. As always you can find the link to the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

July 18, 2011
Much longer than I would have liked between tutorials but I needed to focus more on school that writing tutorials. I have just added the 27th tutorial in my XNA 4.0 RPG tutorial series. In this tutorial I updated a few things and I added in more on talents. With my school finally finished I do plan to make some interesting changes to XNA Game Programming Adventures. I would encourage you to return and see what unfolds. As always you can find the link to the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

April 3, 2011
A lot longer than I thought it would be but tutoial 26 in the XNA 4.0 RPG tutorial series has been uploaded to my site. In this tutorial I worked a little on the game state manager adding in a short transition time between screens. I also did more work on skills in the game. I will not be keeping up with my BLOG. There just isn't enough hours in the day for me to write blog entries and everything else I have to do. I'm in the process of adding a RSS feed to the site so you don't have to visit to get the latest news on my tutorials. As always you can find the link to the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

March 14, 2011
Tutorial 25 in the XNA 4.0 RPG tutorial series is now available on my site. This tutorial continues on with the level editor. I make the editor a little more responsive and add in writing and reading in tilesets and map layers. In the next tutorial I will take a break from the editors and do a little work on the game. As always you can find the link to the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

March 9, 2011
Again a little longer than I liked but I've uploaded tutorial 24 in my XNA 4.0 RPG tutorial series. In this tutorial I continued work on the level editor adding in couple features to the editor. One of them was suggested by Bixel, a guy who has been following my RPG tutorials since I started them with XNA 3.0 and active member of my forum, to fill out some of the controls on the forms for creating levels and tilesets. I also adding being able to click on the preview image of the tileset to be able to select a tile. I handled the size of the map display changing as well. The last thing I added in is the ability to write out and read in levels from the editor. I will be adding in one more tutorial on the level editor itself at some point down the road to allow for zooming in and out of the map, changing the size of the tiles on the map, adding in a fill function, possibly an undo feature and different size brushes. I will definitely be adding in writing out and reading in map layers and tilesets soon. The other features for adding in characters, chests, and traps is another things that will be coming soon to the editor. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

March 3, 2011
It has taken me longer than I like to get tutorial 23 in my XNA 4.0 RPG tutorial series finished and I ended up splitting it into two parts, an A part and a B part. This tutorial covers adding a level editor to the project. I know there are many free tile map editors on the Internet but it can be a nightmare trying to get their format work with our game. I cover designing the forms needed and creating a map. In the future I will be adding in more functionality like writing and reading in maps, adding NPCs to the map, adding objects for the player to interact with and improving the editor itself. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

February 23, 2011
Tutorial 22 in my XNA 4.0 RPG tutorial series is now online and available. It is another short tutorial but it was something that really needed to be done. I show how to read in all of the data you've been creating with the editor into the game. I also demonstate how to use the data for character classes to create the player's character dynamically at run time. I also moved from using an AnimatedSprite in the Player class to using a Character instead. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

February 15, 2011
I have a new tutorial in my XNA 4.0 RPG tutorial series available for download. It is a shorter tutorial than most and it covers getting started with inventory in the game. I add in some classes with a little functionality for handling items in game. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

February 12, 2011
Was a pretty hectic week with school and everything else. I've finished tutorial 20 in my XNA 4.0 RPG tutorial series and have uploaded it to me site. This tutorial goes into skills a bit more and adds a new control to the control manager. I added a screen to handle the player assigning skill points when they are first created or when they receive more skill points. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

February 6, 2011
Tutorial 19 in my XNA 4.0 RPG tutorial series has just ben added to my site. In this tutorial I flesh out skills a little and add creating and editing skills to the editor. In a future tutorail I will cover reading skills in at run time and allowing the player to assign points toward skills. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

February 5, 2011
I've added parts A and B of tutorial 18 in my XNA 4.0 RPG tutorial series to the site. In this tutorial I continued on with adding chests that the player can find and interact with. In this tutorial I added chests and keys to the editor and show how easy it is to read in chests at run time using the Content Pipeline. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

January 29, 2011
I added in the second tutorial in my XNA 4.0 Break Out tutorial for beginners. This tutorial covers adding in bricks and drawing them to the screen. It doesn't cover breaking bricks at the moment though. I also explain some XNA and game programming concepts like frames and back buffers. You can find the tutorial and project on the XNA 4.0 Beginner Tutorials page of the web site.

January 27, 2011
Tutorial 17 in my XNA 4.0 RPG tutorial series is not available online. This tutorial covers adding in chests for the player to be able to interact with and a couple place holder classes for traps. The player isn't picking up the chests but they are being drawn in the game. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

January 25, 2011
Tutorial 16 in my XNA 4.0 RPG tutorial series is not available online. This tutorial covers adding in some more place holder classes for quests and conversations. I also updated the game to use these new classes and some of the classes from tutorial 15. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

January 23, 2011
I've begun the process of moving my old XNA 3.x tutorials over to use XNA 4.0 now. I've updated the first part of my Break Out tutorial to use XNA 4.0. I've aimed the tutorial at beginners in XNA game programming who have a little knowledge of C#. You can find the tutorial and project on the XNA 4.0 Beginner Tutorials page of the web site.

January 23, 2011
I have added tutorial number 15 in my XNA 4.0 RPG tutorial series for download. This tutorial took a little longer than I would have liked because I'm trying to get into a routine for classes, homework, programming, writing, lots of stuff. In this tutorial I add in some classes that will be needed down the road as the game progresses. The classes are related to skills, spells, and talents. Skills can be learned by any intelligent humanoid character. Spells are specific to magic using characters, and talents are for non-magic using characters. Talents can be thought of as special moves like bashing an enemy with a shield. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

January 15, 2011
Tutorial 14 in my XNA 4.0 RPG tutorial series is now online! I split the tutorial into an A part and a B part as it was getting to be quite long. Before doing a lot of things we need some data to work with. In this tutorial I finished up the editor and created some actual data that can be used in the game. I will go into adding the data to the game and a few more things in the next tutorial. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

January 12, 2011
I have added in tutorial 13 in the new XNA 4.0 RPG tutorial series. In this tutorial I add in the list box control that I've been talking about as well as a new game scree, to load a game from. I also updated the character generator and the game play screen to allow for games to be loaded easliy. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

January 9, 2011
Tutorial 12 in the XNA 4.0 RPG has just been added to my site. In this tutorial I expand the World class that I created. I also add in a class that will hold the levels in the game. I moved the camera into the player class and updated the tile engine so it only draws the necessary tiles instead of the entire map. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

January 8, 2011
I have added tutorial 11 part C in the XNA 4.0 RPG series to the site. It took a little longer than I would have liked to complete it. I continued on with the editors in this tutorial adding in writing and reading games from the editor. I think you've all had about as much of editors as you want for a bit so in the next few tutorials I'm going to focus on the game instead of editors. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

January 2, 2011
Tutorial 11 part B in my XNA 4.0 Role Playing Game tutorial has just been added to my site. This is another long tutorial so I will be splitting the tutorial in to 3 parts instead of two. I continued on with add in editors for the game in this tutorial. Mostly just designing the forms and adding in some basic logic. I hope to have part 3 done in the next couple days. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

December 31, 2010
Tutorial 11 part A in my XNA 4.0 Role Playing Game tutorial series is now available online. It took a little longer than I would have liked with the holiday season and the length of the tutorial. This tutorial gets started on adding in an editor for creating games. It also covers moving to a dynamic character system that can be read in at run time. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

December 30, 2010
I have been working on the next tutorial in the XNA 4.0 RPG tutorial series. The tutorial has taken a little longer than I would have liked because of the holidays. I'm also going to be splitting it into two parts because it is already 15 pages long! The tutorial is about moving to a dynamic player character system where the character classes can be read in at run time. I hope to have a little time tomorrow to get part A up on the site. Part B is going to take a little longer as there is a lot more to cover.

December 19, 2010
I finished up tutorial 10 in my XNA 4.0 RPG tutorial series. I got started on adding in classes for the character system that I will be using in the tutorials. I also added in a class to the game to model the world the adventure will take place in. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

December 18, 2010
I have uploaded tutorial 9 in the new XNA 4.0 RPG tutorial series. In this tutorial I added some basic classes for the items in the game. I also added a class for managing items in the game. This is not for inventory, that will come later on down the road. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

December 13, 2010
I'm going to be getting back to blogging. I have a new blog as the old one was contiuously getting hit with SPAM from people trying to increase their ranking in search engines. So, I also changed the URL and I will be removing the old blog from my site completely. Topics I will be writing about are game programming in general, with posts about XNA included.

December 12, 2010
Tutorial 8 in the new XNA 4.0 RPG tutorial series is now up on my site. This tutorial covers having a preview image for the player's character choice. I also did a little work on the tile engine in this tutorial. I added in being able to zoom in and out on the map and made it so that you don't have to subtract the camera's position for evertyhing that you want to draw on the map. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

December 9, 2010
I have upload tutorial 7 in the new XNA 4.0 role playing game series of tutorials. This tutorial is a bit longer than the last few and a little more complex, I would say. I added in animated sprite classes, one for the animations and one for the sprite itself, and showed how it will work with the game. I ended up with two modes for the camera. In one mode the camera follows the player's sprite. In the other mode the camera has free range movement and is not tied to the sprite. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

December 7, 2010
Tutorial 6 in my new XNA 4.0 RPG tutorial series is now online! In this tutorial I cover adding in a screen for creating characters. I also added in another control to be use with the control manager. It is a little shorter than the other tutorials but I didn't want to get into anything more in this tutorial. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

December 5, 2010
First, I updated tutoril 4 in the new XNA 4.0 role playing game tutorials. It was pointed out that I had missed posting the code for the TileMap class. I have been working on the next tutorial in my XNA 4.0 RPG series. In this tutorial I did a little more work on the tile engine. I demonstrated working with maps with multiple layers and maps with multiple tile sets. I also implemented a 2D camera to control moving the map. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

December 2, 2010
After a bit of a break I have finished the forth tutorial in the new XNA 4.0 role playing game series. In this tutorial I get a basic tile engine up and running. I go over some of the differences in rendering with the SpriteBatch class from previous versions of XNA. This update to the SpriteBatch class helps to eliminate the problem of lines appearing around tiles when you do any sort of scaling. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

November 29, 2010
Three tutorials in three days! I've just finished uploading my third tutorial in the XNA 4.0 role playing game series. In this tutorial I added in another GUI control, a picture box. I also added in a third screen, the screen game play will take place on. I also filled in the start menu. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

November 28, 2010
The 2nd tutorial in my XNA 4.0 RPG series is now online! This tutorial covers adding in a few more core game components and support for Xbox 360 game pads. The components that I added in are a few GUI controls and a manager class to manage the controls on the screen. I also added in a second screen to the game and show how to use the state manager to move between game screens. You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

November 27, 2010
I have just finished uploading the 1st new XNA 4.0 role playing game tutorial to my site! In this tutorial I go over creating the basic project, including two class libraries, an input handler, and a state manager. I'd like to thank Tuckbone from my forum on providing me with the graphic I used in the title screen. Many thanks for lending me your graphic design skills! You can find the tutorial and project on the XNA 4.0 Role Playing Game Tutorials page of my site.

I'm also in the process of updating my blog. I hope to write articles on what is going on with XNA Game Programming Adventures, my projects, and XNA in general.

November 26, 2010
I'm in the process of updating my tutorials to use XNA Game Studio 4.0! The old tutorials will still be around but new tutorials will be written for XNA Game Sutdio 4.0 from now on. There will be a PDF that will explain the differences between XNA 4.0 and XNA 3.x. If you are using XNA 3.x and you have a problem, I encourage you to visit my forum and ask your question there. Registration is free and I've updated to terms or use for the forum. Simply, the terms are that you are free to use any of the code you find on XNA Game Programming Adventures as long as you give me a credit in a commercial game, with a reference to my site. I would also like a link to my site from yours, if you have one.

November 23, 2010
I missed placing some changes into the PDF for the 12th new XNA RPG tutorial. I have just uploaded the new tutorial now. If you read the older tutorial and had problems with old tutorial try the updated tutorial.

November 22, 2010
Tutorial 12 in my new XNA RPG tutorial series is now up on the site. In this tutorial I had wanted to work on the item editor but I instead moved many things into a class library that can be shared between projects. This way if you change a class in the library the changes are available to all other projects that use the library. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

November 17, 2010
Not quite as quickly as I would have liked. I had attempted to add a few things to the new XNA RPG tutorials but ran into a brick wall with it. I have added in a new tutorial in my XNA RPG tutorial series. This supplemental tutorial extends the item classes a little and the item manager, though much less so than the item classes. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

November 8, 2010
The trend seems to be continuing. I have just finished writing up the 11th tutorial in my new XNA RPG tutorial series. In this tutorial I started with items in the game. I only added in the basic classes for items. A base class that all items share as well as three derived classes for weapons, armor, and shields. I also add in a class to manage items in the game and remodeled the Session class a little. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

November 6, 2010
I hope this is a good trend. I've just uploaded tutorial 10 in my new XNA RPG tutorial series. In this tutorial I did continue on with the character classes and the character generator screen. I added in different sprites for each of the gender and class combinations. I also added in a new PictureBox control for displaying images. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

November 4, 2010
I have just added tutorial 9 in my new XNA RPG tutorial series of tutorials. I continued on with the character classes in this tutorial. I made a pretty simple editor to be able to read information about character classes at run time rather then have them hard coded as well. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

November 1, 2010
Sorry it has been a month but the eigth tutorial in my new XNA RPG tutorial series is now online. In this tuttorial I added in a few basic classes for handling the player character system. I also made a few modifications to the way screens are drawn. I also made the tile engine a little more efficient. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

September 29, 2010
The seventh tutorial in my new XNA RPG tutorial series is now online. In this tutorial I added in a title screen like you would find on an Xbox 360 game asking you to press the Start or A button to begin the game. I also added in how to get the storage device the player would like to save their games to and how to save a game to that storage device. I also showed how to get input from a single controller that is selected from the title screen. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

September 27, 2010
I added in a sixth tutorial in my new XNA RPG tutorial series. This tutorial covers adding in a screen to create the player's character as well as some basic GUI controls and a class to manage GUI controls on the screen. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

September 23, 2010
I know it has been some time but I have uploaded the next tutorial in my new XNA RPG tutorial series. In this tutorial I add the idea of using a session to store game data and add in classes for animated sprites. I also added in the sprite for the player to control. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

August 2, 2010
I have just uploaded the next tutorial in my new XNA RPG tutorial series. In this tutorial I did a little more work on the tile engine. I added in scrolling the map and I showed how to have multiple layers and how to use multiple tile sets. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

August 1, 2010
The next XNA RPG tutorial has just been uploaded to my web site. In this XNA RPG tutorial I added a basic tile engine to the game. I wouldn't say basic because it already has some advanced features like multiple tile sets for a single map as well as being a layered map. In the next tutorial I will cover scrolling the map using keyboard and game pad movement. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

July 30, 2010
I have just uploaded the next tutorial in my new XNA RPG tutorial series. The first thing I did was add in support for the Xbox 360 game pad. In this tutorial I first introduce the idea of using a session for the game. Sessions will be used to create new games, save games, and load games. I also added another screen to the game, added in support for the Xbox 360 game pad, and added in a background component. You can find the link to the tutorial on the New XNA RPG Tutorials page of my site.

July 29, 2010
As you can see, I've redesigned my site. I will be getting a web designer to design the site in the fall. I hope that it is easy to find everything. I would suggest book marking pages that you visit a lot, like the tutorial pages.

I've also added in the first tutorial in my new XNA RPG tutorial series. In this tutorial I create a few basic components that you will use in the game. It is an error to go into creating a large game with out some sort of state, or screen, management. That is where I start these tutorials. I also added in a menu component that will be useful and an input management component. You can find the link to this tutorial on the New RPG Tutorials page of my site.

Since I will be reusing much of the code from the last RPG tutorial series I hope to be able to get a few tutorials up in a relatively quick period of time.

July 16, 2010
I have been working on new XNA RPG tutorials. The problem is that I've been having to back track and fix things that I probably shouldn't have done in the first place. All of these fixes are making it harder and harder to get new tutorials out in my XNA RPG series. I'm proposing a fresh start with much nicer code that will be easy to maintain in the future and easier, I would hope, for you to change to suit your needs. Doing this will allow me to get a lot of RPG tutorials out quickly. I won't be worrying too much on looks, more on getting things working and working in a way that will be easy to use in your own games with little modification. You can use the Contact Form to leave feedback, or better yet, visit my forum XNA GPA Forum and leave feedback on the topic in the Site Feedback forum.

July 9, 2010
I added in the next tutorial in my XNA RPG tutorial series to the site. In this tutotiral I get started on moving to a party based game instead of a single player game. The way I'm going about it the game will be split into chapters and scenes, much like Final Fantasy XIII. The characters in each scene will be dynamic. This is the first part in a few tutorials on the subject. This tutorial was more laying the foundation more than anything else. You can find the tutorial on the XNA RPG Tutorials page of my site.

July 3, 2010
I have just added two new XNA tutorials to my web site. The first is in a series of tutorials that I'm writing about collision detection demonstrated in different games. This one is using the simplest form of collision detection, bounding boxes. The second is in my XNA Screen Manager series that shows an easy way to change the music of your game as the screen changes. It is specific to XNA 3.1 but I will be writing other tutorials on adding music to your game. You can find the tutorials on the XNA Tutorials page of my site.

June 21, 2010
I have just finished and uploaded a new XNA tutorial to my web site. This tutorial is on creating a Break Out style game. It is aimed more at beginners with XNA, though if you are interested in creating a Break Out style game. I'm sure you will be able to pick something up in this two part tutorial series. This first part deals with getting the paddle onto the screen as well as the ball. The ball will bounce around the screen and off the paddle. In the second part I will be adding in the bricks for the ball to break.

I will be doing a more advanced Break Out tutorial series. It will be a complete Break Out style game with menus, a leader board, bricks with different properties, power ups, etc.

May 14, 2010
I add the next XNA RPG tutorial to my site. In this tutorial I took a got started on using management classes to manage game objects rather than having the game object as game components. The reason is that game components have a fair bit of overhead associated with them. Just having one component to manage objects of a class is a much better way to go. Keeping with the items and inventory theme I made the management class for items and chests in the game, as they are related. As always you can find the link to the latest XNA RPG tutorial on the XNA RPG Tutorials page of my site. Be sure to visit my blog at http://xnagpa.net/wp/ for the latest news on my XNA tutorials.

May 4, 2010
I have added another XNA RPG tutorial to my site. In this tutorial I got started on inventory managament, the player character being able to carry, use, sell, buy, pick up, and drop items. Inventory management is one of the harder parts of a role playing game to work on. You need to take a lot into account when you design your inventory management system. The player character should not be able to carry hundreds of pounds of equipment and explore the world as if they were carrying nothing. This rather short XNA RPG tutorial is more of a foundation tutorial for things to come down the road. As always you can find the link to the latest XNA RPG tutorial on the XNA RPG Tutorials page of my site. Be sure to visit my blog at http://xnagpa.net/wp/ for the latest news on my XNA tutorials.

May 1, 2010
I have just added another XNA RPG tutorial to my site. This is the B part of the tutorial that I posted yesterday. I believe in total, the two tutorials are about 40 pages long or more. I finished up with the item editor in this tutorial. I also added in reading in the items in the game in this tutorial as well as having those items placed inside of chests. You can find the link to the tutorial on the XNA RPG Tutorials page of my web site. I have gotten a good start on adding items to the game but there is still a long way to go on these tutorials. I encourage you to keep coming back to my site or you can visit my blog at http://xnagpa.net/wp/ for the latest news on my XNA tutorials.

April 30, 2010
I have just finished and uploaded a new tutorial in my XNA RPG tutorial series. This is part A of a two part tutorial. The reason is that the tutorial was getting to be quite long and I didn't want to throw too much at you at once. This tutorial covers creating an Item Editor for my XNA RPG tutorial series. In this tutorial I cover creating items using the editor, editing items with the editor, and deleting items. In part B I will cover saving items and reading them back in using the editor. I part B of the tutorial, I will also cover reading in the items from the game. As always, you can find the link to the tutorial on the XNA RPG Tutorials page of my site. So, keep coming back as I intend on working on more tutorials. Both for my XNA RPG tutorial series and general XNA tutorials. I see that some would like a tutorial on creaing a break out style game. The one I made was with XNA 2.0 but will update it for XNA 3.0. It will work with XNA 3.1 as well. I just know that there are some out there that prefer XNA 3.0 so that is why I tend to use XNA 3.0 for my tutorials.

April 22, 2010
I have added a new tutorial to my web site as well as a short tutorial on the forum. The tutorial on the forum talks about how to detect a single keypress with XNA. I will add tutorials on mouse clicks and button presses on the game pads as well. The keypress tutorial is available here. The other tutorial is the next tutorial in my XNA RPG tutorial series. In this tutorial I continued on with having the player being able to pick up items. I hadn't planned on the tutorial having any visual aspects but because what I had done was a little brief I decided to continue on and display the contents of the chests instead of just making the item classes. As always, you can find link to the tutorial on the RPG Tutorials page of my site.

April 21, 2010
I have my new blog set up. At the moment there is only the one entry but I do plan on adding much more to the new blog. For now I will be keeping the old pages from my blog and will be updating them as I go. I do plan on eventually phasing out the old blog and replace it with the new. I will also be working on archiving the old posts and the news pages. You can find the blog at http://xnagpa.net/wp/. I have big plans form my site so I hope that you will keep coming back and visit.

April 18, 2010
I have finished configuring the forum! You should now be able to find the forum from the Forum link in the navigation bar. You can also reach the forum from http://xnagpa.net/forum/. I plan on placing all of my tutorials in the forum as well as in PDF format. I also have plans to use Wordpress blog software for my blog and have that up and running soon. I plan on getting back to my tutorials over the course of the next few weeks. I encourage you to keep coming back to see the changes I plan to add to the site.

April 17, 2010
My new site, XNA Game Programming Adventures, is now up and running. Make sure to update your bookmarks to http://xnagpa.net. The old pages will be updated to redirect you to the new site eventually but for now the will remain but will not be updated after today. I'm still working on setting up the forum but very soon it will be online for you to be able join. I've added a page for Xin, my XNA Input Manager game component. Xin is an open source project and you are free to use it in your game. If you would like to learn more about Xin you can read the Xin Documentation PDF. I've also added a widget to the right column for donations if you find my tutorials or open source projects useful.

April 6, 2010
Really big, news here! I now have a new domain name for this site. The new address will be http://xnagpa.net. So if you have been trying to reach my site the past yesterday evening and today and haven't been able to access it that is why. It may take a while for everything to be fully migrated so the old address xna.jtmbooks.com will work for now. When I'm finished there will also be a forum on the site so you can ask questions, report problems with the tutorials, and general questions about XNA and C# programming. So, keep coming back and I hope to have everything up and running in the next few days. Once the new site is fully set up, the old pages will redirect to the proper pages on the new site.

April 5, 2010
I had a request from Tom to remove the headers and footers from my tutorials. He asked because he was saying that he liked to copy and paste the code from the PDF directly into his game. He mentioned that when he did that the headers and footers were being copied into his code and didn't like having to remove the headers and footers from his code. I didn't update tutorial 30 because the original tutorial is not on my hard drive. The tutorials on the zip page haven't been updated yet. The link to download all of the tutorials in one zip file have been updated.

February 11, 2010
I have uploaded the next tutorial in my XNA role playing game tutorial series to my web site. In this tutorial I continued on with adding in items for the player to pick up of the map. There is still more to do related to items but I can't get into that until I add in the classes necessary to handle items and inventory. I plan to do that soon in a future tutorial. Inventory can be a complicated topic. I will be using inheritance and polymorphism in dealing with inventory as well as interfaces. Interfaces are related to classes. They are basically contracts that the class that uses them must implement. I used the ICloneable interface when I dealt with animating sprites. I will be creating the interfaces that will need to be implemented though. As always, you can find the link to the tutorial on the RPG Tutorials page of my web site. If you are interested in seeing the results of the tutorial you can check out the Screenshots page of my site.

February 9, 2010
I have just uploaded two new tutorials to my web site on creating a screen manager with XNA. In the first tutorial I show how to add support for the Xbox 360 game pad to the screen manager. In the second tutorial I show how to create a pop up screen that you can use to ask a yes or no question from the player of your game. You can find the links to the tutorials on the XNA Tutorials page of my web site.

I will be continuing on with my role playing game tutorial series tonight and I hope to have that tutorial available for download on my web site shortly.

February 4, 2010
I have just uploaded the latest tutorial on creating a role playing game with XNA to my web site. In this tutorial I got started on adding items for the player to pick up. In the next tutorial in the XNA role playing game series I will handle collision with chests and being able to pick things up. To handle picking up things I will be adding a new screen to the game. This pop up screen will display the items that the player has found, along with any gold that is in the chest. You can find the link to the tutorial on the RPG Tutorials page of my web site. You can find a screen shot of the game with the chests the player will be picking up on the Screenshots page.

January 28, 2010
I have just added a new tutorial in my XNA role playing game series to the site. I just made a couple minor fixes in this tutorial. One thing that I did was get rid of the bar at the bottom of the action screen because I decided to handle text in pop ups, it was an eye sore, and it gives the player a bigger playing field to play on. There are new graphics for the buttons and the pop up screens. You don't technically need to use most of them but you should at least use the one for the dialogs with NPCs. Another thing that I did in this tutorial had to do with getting input from the player. There were several copies of the methods that checked for key presses and button presses, I changed things so there is only methods in the main game class. The last thing I changed in this tutorial had to do with starting conversations with NPCs. I was testing the game and I found using the A button to start a conversatoin and the B button to handle the menu was a little hard to get used to. I changes it so you use the B button to start conversations and the Enter key instead of the space bar. You can find the link to this tutorial on the RPG Tutorials page of my web site.

January 25, 2010
Sorry it has been so long and that I did quit writing these tutorials for a while but I'm excited to say that I'm back writing tutorials, including my RPG tutorials. I've added in a new tutorial in the XNA RPG tutorials series. In this tutorial I added in support for the Xbox 360 controller to the game. Everything that you can do with the keyboard you can also do with the controller. I did make a few modifications to how the menus work. You can only select items using the Enter key, not the Space key. You can also move the selection using the direction pad of the controller and make a selection using the B button. On the action screen, you can bring up th stats window using the Y button on the controller. You can find the link to the tutorial on the RPG Tutorials page of the web site.

Good luck with your XNA game programming adventures.

Jamie McMahon



Site Search

Custom Search


Latest News

June 10, 2016
XNAGPA is moving soon to another site.
February 10, 2012
3rd Brick Breaking tutorial!
August 12, 2011
31st XNA 4.0 RPG tutorial!
August 11, 2011
30th XNA 4.0 RPG tutorial!
July 27, 2011
29th XNA 4.0 RPG tutorial!
July 20, 2011
28th XNA 4.0 RPG tutorial!