Table of contents : Cover......Page 1 Contents at a Glance......Page 9 Contents......Page 11 PART I Working with This Book......Page 28 Preparing for the Book......Page 30 PART II DirectX Basics......Page 70 Drawing with DirectX Graphics......Page 72 Interacting with DirectInput......Page 168 Playing Sound and Music with DirectX Audio and DirectShow......Page 198 Networking with DirectPlay......Page 260 Creating the Game Core......Page 302 PART III Role Playing Game Programming......Page 364 Using 2-D Graphics......Page 366 Creating 3-D Graphics Engines......Page 398 Mixing 2-D and 3-D Graphics Engines......Page 460 Implementing Scripts......Page 476 Defining and Using Objects......Page 510 Controlling Players and Characters......Page 548 Working with Maps and Levels......Page 648 Creating Combat Sequences......Page 702 Getting Online with Multiplayer Gaming......Page 724 PART IV The Finishing Touches......Page 780 Putting Together a Full Game......Page 782 PART V Appendixes......Page 836 Appendix A Bibliography......Page 838 Appendix B What’s on the CD-ROM......Page 844 Appendix C Glossary......Page 848 Index......Page 861