This page is for my XNA 4.0 RPG Tutorials series. On this page you will find the tutorials in PDF format as well as the project at the end of each tutorial. Starting with tutorial 14 I will be including the data I create during the tutorials in a ZIP file as well.
If you find an error in a tutorial, have a request for future tutorials in the series, you can post them on my forum. If you are posting errors please give the class and region the error is in. This will make it much easier for me to find the problem.
basic project, two class libraries, and some components that will be used through out the rest of the
tutorials
Part 1 – Getting Started
Project
GUI controls and a class to manage them. I add in another screen to the game and show how to move between
game states
Part 2 – More Core Components
Project
screen. I also filled out the starting menu screen
Part 3 – Even More Core Components
Project
maps the player will use to explore your world. In the next tutorial I will add in more to the tile engine
map and having maps with multiple layers and multiple tile sets
Part 5 – Tile Engine Part 2
Project
create their character
Part 6 – Character Generator
Project
the one mode the camera follows the sprite and in the other the camera moves independently of the sprite
Part 7 – Animated Sprite
Project
in zooming in and out to the tile engine as well as using a transformation matrix in the drawing code so you no longer
always need to subtract the camera’s position
Part 8 – Character Generator and Tile Engine
Project
meant for invenroty, that will be added later on down the road
place in.
class system. This is part one of a three part tutorial
Part 11A – Game Editor
Project
Part 11B – Game Editor
Project
Part 11C – Game Editor
Project
efficient
Part 12 – Updating Game
Project
to make it easier to load games and start new games
Part 13 – List Box and Load Game Screen
Project
game
Part 14A – Game Editor
Part 14B – Game Editor
Project – 14A
Project – 14B
Game Data
talents
Part 15 – Skills, Spells, and Talents
Project
also updates the game to use the classes from the past two tutorials
Part 16 – Quests and Conversations
Project
moment but picking them up will come eventually. I also added in a couple place holder classes for traps
Part 17 – Finding Loot
Project
game editor and read in a chest at run time!
Part 18A – Finding Loot Part 2
Part 18B – Finding Loot Part 2
Project – 18
Game Data
assigning points to skills
Part 19 – Skills Continued
Project
Game Data
Part 20 – Skills Continued
Project
Part 21 – Basic Inventory
Project
Part 22 – Reading Data
Project
Part 23A – Level Editor
Part 23B – Level Editor
Project
write out and read in levels
Part 24 – Level Editor Part 2
Project
more responsive
Part 25 – Level Editor Part 3
Project
transition time between screens
Part 26 – More On Skills
Project
Part 27 – Updates and More on Talents
Project
Part 28 – More on Spells and Effects
Project
Part 29 – Weaknesses and Resistances
Project
Part 30 – Updating Weapons
Project
Part 31 – Tile Engine Update
Project
Part 32 – Tile Engine Update
Project
Part 33 – Conversation Update
Project
Part 34 – Non-Player Character Sprites
Project
Part 35 – Conversations
Project
Part 36 – Animated Tiles
Project
Part 37 – Map Editor Revisted
Project