Programming Role Playing Games with DirectX, 2nd Edition

  • Jim Adams
  • ISBN-10: 159200315X  |  ISBN-13: 9781592003150
  • 880 Pages
  • Previous Editions: 2002
  • © 2004 | Published
  • List Price = $ 49.99
  • For quantity discounts, Contact your Representative
  • For single copy purchases, visit



No game draws a player into its world in quite the same way as a role-playing game does. In role-playing games, players break through the barrier that exists between their actions and the fantastic world that they're navigating through and instead become an inhabitant of that world. Get ready to put your creative ideas in motion and try your hand at creating your own role-playing game! "Programming Role Playing Games with DirectX, 2nd Edition" will show you how to do it as you create cool graphics and combat engines, handle players in your game, use scripts and items, and make your game multiplayer-capable. This book breaks a role-playing game down into its essential components, examining the details of each and showing you how to use them in your game project. Learn how to draw with DirectX Graphics, play audio with DirectX Audio, network with DirectPlay, and process input with DirectInput. By the time you finish, you'll have the skills you need to create a complete role-playing game.

Features and Benefits

  • This unique book serves as an all-in-one programming guide.
  • While the book focuses on role playing games, the information can be applied to other genres as well.
  • Concludes with a full section dedicated to showing readers how to create a complete game.
  • Companion website available here:

Table of Contents

Part 1: Working with this Book
1. Preparing for the Book
Part 2: DirectX Basics
2. Drawing with DirectX Graphics
3. Interacting with DirectInput
4. Playing Sound and Music with DirectX Audio and DirectShow
5. Networking with DirectPlay
6. Creating the Game Core
Part 3: Role-Playing Game Programming
7. Using 2D Graphics
8. Creating 3D Graphics Engines
9. Mixing 2D and 3D Graphics Engines
10. Implementing Scripts
11. Defining and Using Objects
12. Controlling Players and Characters
13. Working with Maps and Levels
14. Creating Combat Sequences
15. Getting Online with Multiplayer Gaming
Part 4: The Finishing Touches
16. Putting Together a Full Game
Appendix A: Bibliography
Appendix B: What''s on the CD-ROM

Meet the Author

Author Bio

Jim Adams

Jim Adams has been programming since age nine. For the past 22 years, he has worked various jobs in the business and entertainment industry. He stays active in the game programming community by writing technical articles and moderating a message forum on He has contributed to several books on game development and maintains a core library of DirectX functions to assist in game development. Jim is the author of the book "Programming Role Playing Game with DirectX" (Premier Press, 1931841098) and "Advanced Animation with DirectX" (Premier Press, 1592000371).