Skip to main content

Professional XNA Game Programming: For Xbox 360 and Windows

Professional XNA Game Programming: For Xbox 360 and Windows

Benjamin Nitschke

ISBN: 978-0-470-17377-0

May 2007

500 pages

Select type: E-Book

Product not available for purchase

Description

You haven't experienced the full potential of Xbox 360 or Windows until you've created your own homebrewed games for these innovative systems. With Microsoft's new XNA Framework, the only thing limiting you is your imagination. Now professional game developer and Microsoft DirectX MVP Benjamin Nitschke shows you how to take advantage of the XNA Game Studio Express tools and libraries in order to build cutting-edge games.

Whether you want to explore new worlds or speed down a city block in a souped up dragster, this book will get you up and running quickly. You'll learn how to implement 3D models, generate huge landscapes, map cool-looking shaders to your 3D objects, and much more. Nitschke also steps you through the development of your first fully functional racing game. You'll then be able to apply this information as you write your own XNA cross-platform games.

What you will learn from this book

  • Tricks for managing the game engine and user interface
  • How to program an old school shooter game and space adventure
  • Tips for improving racing game logic and expanding your game ideas
  • Methods for integrating amazing visual effects using advanced shader techniques
  • Steps for adding sound and music with XACT-bringing your game to life
  • How to fine-tune and debug your game for optimal performance

Who this book is for

This book is for anyone who wants to write their own games for the Xbox 360 or Windows platforms. You should have some experience coding with C# or a similar .NET language.

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

Acknowledgements.

Introduction.

Part I: XNA Framework Basics.

1. Introducing XNA.

2. Creating Your First Game: Pong.

3. Helper Classes.

4. Game Components.

Part II: Basic Graphics Engine.

5. Writing Your Own XNA Graphics Engine.

6. Shader Management.

7. Realism Through Normal Mapping.

8. Post-Screen Shaders and the Rocket Commander Game.

Part III: Improving Your Game Engine.

9. Adding Sound with XACT.

10. Player Input and the User Interface.

11. Creating XNA Shooter.

Part IV: Writing a Racing Game.

12. Generating Landscapes and Tracks.

13. Physics.

14. Fine-Tuning and "Modding" the Racing Game.

Appendix A: Resources.

Index.

Code Downloads
Code downloads for this title are available here.
Chap. 1
Download
Chap. 2
Download
Chap. 3
Download
Chap. 4
Download
Chap. 5
Download
Chap. 6
Download
Chap. 7
Download
Chap. 8
Download
Chap. 9
Download
Chap. 10
Download
Chap 11
Download
Chap. 12
Download
Chap. 13
Download
Chap. 14 - Racing Game Simple
Download
Chap. 14 - Speedy Racer
Download
Game Installers
Download
Readme.txt
Download
Setups
Download
ChapterPageDetailsDatePrint Run
6Error in Text
mid-page, the second sentence reads:
This means that you can open them up with a tool like reflection.

should be:
This means that you can open them up with a tool like reflector.
05/21/07

21Error in Text
first paragraph:
400 pixels per frame

Should be:
400 pixels per second
05/21/07

34Error in File Reference
PongBackground.dds

should be:
Spacebackground.dds

The text mentions that the reader will load: PongBackground.dds, however, the code download has this file named Spacebackground.dds
05/22/07

41Typo
GameLivesRect

should be:
GameLifesRect Typo results in a compilation error.
05/29/07

5122Error in Text
wrong use of 'import' and 'export'--

words should be other way around
07/24/2007