E-Book Overview
Written in easy-to-understand language, this book is a must-read if you'd like to create out-of-the-ordinary, yet simple games. Authors Alexandre Lobao and Ellen Hatton demonstrate the ease of producing multimedia games with Managed DirectX 9.0 and programming the games with Visual Basic .NET on the Everett version of Microsoft's Visual Studio. The authors emphasize simplicity, but still explore important concepts of Managed DirectX 9.0, such as Direct3D, DirectSound, DirectMusic (using the COM interface), DirectInput (including force-feedback joysticks), DirectShow, and DirectPlay. Additional chapters discuss game programming technologies: Speech API for generating character voices, GDI+ for simple games, and multithreading. A bonus chapter even shows you how to port a simple game to a Pocket PC. The book includes two chapters' worth of sample games. The first presents a game with simple features; the second extends that game and presents additional concepts. A library of game programming helper classes is also created, step by step, in both chapters.
E-Book Content
.NET Game Programming with DirectX 9.0 by Alexandre Santos Lobão and Ellen Hatton Apress © 2003 (696 pages) ISBN:1590590511 The authors of this text show how easy it can be to produce interesting multimedia games using Managed DirectX 9.0 and programming with Visual Basic .NET on Everett, the latest version of Microsoft's Visual Studio. Table of Contents .NET Game Programming with DirectX 9.0 Foreword Preface Introduction Chapter 1 - .Nettrix: GDI+ and Collision Detection Chapter 2 - .Netterpillars: Artificial Intelligence and Sprites Chapter 3 - Managed DirectX First Steps: Direct3D Basics and DirectX vs. GDI+ Chapter 4 - River Pla.Net: Tiled Game Fields, Scrolling, and DirectAudio Chapter 5 - River Pla.Net II: DirectInput and Writing Text to Screen Chapter 6 - Magic KindergarteN.: Adventure Games, ADO.NET, and DirectShow Chapter 7 - Magic KindergarteN. II: Animation Techniques and Speech API Chapter 8 - .Netterpillars II: Multiplayer Games and Directplay Chapter 9 - D-iNfEcT: Multithreading, Nonrectangular Windows, and Access to Nonmanaged Code Bonus Chapter Porting .Nettrix to Pocket PC Appendix A - The State of PC Gaming Appendix B - Motivations in Games Appendix C - How Do I Make Games? Appendix D - Guidelines for Developing Successful Games Index List of Figures List of Tables .NET Game Programming with DirectX 9.0 Back Cover ISBN:1590590511 by Alexandre Santos Lobão and Ellen Presented in easy-to-understand language, .NET Game Programming with DirectX 9.0 is a must-have title for those Hatton who want to create out-of-the-ordinary but simple games, but have never had the time to expend reading hardApress © 2003 (696 pages) core game developers books. Lobao and Hatton show how easy it can be to produce interesting multimedia games The 9.0 authors of this text show easy it can be on to produce using Managed DirectX and programming withhow Visual Basic .NET Everett, the latest version of Microsoft's interesting multimedia games using Managed DirectX and all basic concepts within Visual Studio. Although their focus is on simplicity, the authors are able to9.0 explore programming with Visual Basic .NET on(using Everett, latest Managed DirectX 9.0: Direct3D, DirectSound, DirectMusic thethe COM interface), DirectInput (including forceof Microsoft's Visual Studio. feedback joysticks),version DirectShow, and DirectPlay. There are also chapters covering other technologies that can be used for game programming: the Speech API to generate game characters' voices, multithreading, and GDI+ for simple games. A bonus chapter shows how to port a simple game to Pocket PC. Sam