Synopses & Reviews
This book, Beginning .NET Game Programming in C#, presents the additional work of David Weller (.NET Game evangelist at Microsoft) and a group of key Microsoft insiders who decided to make the bestselling .NET Game Programming with DirectX 9.0 (VB .NET Edition) even better. Weller has switched the programming language to C# and added a bonus chapter. The book has passed all internal Microsoft tests as to programming style. This thoroughly revised and improved version (including a bonus chapter) is the ideal way to get into .NET game programming using the C# language.
BACK A FEW YEARS AGO I HAD AN IDEA. What if I could make the power of the DirectX API available to the developers who were going to be using the new set of lan guages and common language runtime that Microsoft was developing? The idea was intriguing, and opening up a larger portion of the world to DirectX was a goal I was only too happy to endorse. Besides, what developer doesn't want to write games? It seems that at least once a week I am answering questions directly regard ing the performance of managed code, and Managed DirectX in particular. One of the more common questions I hear is some paraphrase of "Is it as fast as unmanaged code?" Obviously in a general sense it isn't. Regardless of the quality of the Managed DirectXAPI, the fact remains that it still has to run through the same DirectXAPI that the unmanaged code does. There is naturally going to be a slight overhead for this, but does it have a large negative impact on the majority of applications? Of course it doesn't. No one is suggesting that one of the top-of-the-line polygon pushing games coming out today (say, Half Life 2 or Doom 3) should be written in Managed DirectX, but that doesn't mean that there isn't a whole slew of games that could be. I'll get more to that in just a few moments."
Co-written by David Weller, .NET game evangelist at Microsoft, this thoroughly revised and improved guide (including a bonus chapter) is the ideal way to get into .NET game programming using the C# language.
This revised and improved version (including bonus chapter) is the ideal was to get into .NET game programming using the C# language.
This long-awaited title provides a clear introduction to game programming for you, C# programmers Microsoft insiders have written an easy-to-read guide, so you can start programming games quickly. This book even includes an introduction to Managed DirectX9, and other advanced .NET features, like animation and sounds.
Code examples are actually complete games, and include .Nettrix, .Netterpillars, River Pla.NET, Magic KindergarteN., D-iNfEcT, Nettrix II (for the Pocket PC), and a version of the classic game, Spacewars.
Table of Contents
.Nettrix: GDI+ and Collision Detection; .Netterpillars: Artificial Intelligence and Sprites; Managed DirectX First Steps: Direct3D Basics and DirectX vs. GDI+; Working with User Input: Twisty Cube; River Pla.Net: Tiled Game Fields, Scrolling, and DirectAudio; River Pla.Net II: DirectInput and Writing Text to Screen; Magic KindergarteN.: Adventure Games, ADO.NET, and DirectShow; Magic KindergarteN. II: Animation Techniques and Speech API; .Netterpillars II: Multiplayer Games and DirectPlay; Spacewar! Classic 2D Multiplayer Gaming with Managed DirectX; 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.