Imagine this scenario: You create a hunter character with random stats and hit points and enter the dungeon to begin exploring for treasure. You stumble upon a zombie pacing near a pile of gear and gold! You attack the zombie and it strikes back! You roll 1D20 and score a critical hit! The 20 point die plus dexterity, against the zombie’s armor class, nets a guaranteed hit. Your damage roll is 1D8 plus your strength and weapon modifier, which is 1D4, more than enough to kill the monster! It falls to the ground motionless. Lying next to the unmoving zombie is leather armor that you pick up and equip, giving your hunter a huge boost in defense points. You also pick up some gold coins and gain experience points. Now you dream of finding a better bow... Off to the right, you spot a whole group of undead monsters that are surely guarding loot you could use... and you head toward them to battle!
You will learn to build a game with every feature just described! This book will teach you how to create your own fully functional role-playing game (RPG) using Visual C#. You will learn step-by-step how to construct each part of the game engine using Windows Forms and GDI+, including a tiled scroller, game editors, and scripting. If you think role-playing games are fun to play, wait until you start working on one of your own design! Constructing an RPG is more fun than playing one, because you are in complete control over the game world, and you can let your imagination loose to create adventures for others to enjoy. However, it is not easy! Just as your game character must gain experience and level up, so must you level up by reading each chapter to learn new skills!
Learn how to create your own fully functioning role-playing game (RPG) with VISUAL C# GAME PROGRAMMING FOR TEENS! A true beginner's guide, the book covers each essential step for creating your own complete RPG using Windows Forms and GDI+, including a tiled scroller, game editors, and scripting. While some experience with Visual C# is helpful, this book is an introductory guide for readers who are new to programming or new to programming for games and want to learn the basics of RPG game mechanics. You will learn by studying the short examples in each chapter, building the complete RPG called Dungeon Crawler as you move from one chapter to the next, with new features and game play elements added in each new chapter. Along the way you'll discover how to load and draw bitmaps, create sprites, render a game world, keep track of inventory and character stats, and build tools including a level editor, character editor, item editor, and monster editor. And the finished Dungeon Crawler game includes all the source code and tools you'll need to make your own awesome RPGs with loads of cool features and functionality.