O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Beginning XNA 3.0 Game Programming: From Novice to Professional

Book Description

Would you like to create your own games, but never have the time to dig into the details of multimedia programming? Now you don't have to! XNA 3.0 makes it simple to create your own games, which will run on your PC and Xbox 360 console. Even if you don't know how to program at all, Beginning XNA 3.0 Game Programming: From Novice to Professional will teach you the basics of C# 2008 programming along the way. Don't get overwhelmed with details you don't need to know—just learn what you need to start creating your own games right now!

This fast-paced introduction to XNA 3.0 and the C# language provides you with a quick-start guide to creating high-quality XNA games. You'll be introduced to the key concepts and ideas you need to know in a gradual fashion so that you master one concept before using it as a foundation for the next. Before long, you will have the skills to create smooth, professional-looking results in a range of gaming genres. By the end of the book, you will have constructed several working games and have an excellent knowledge base from which to investigate more advanced techniques.

Table of Contents

  1. Cover Page
  2. Title Page
  3. Copyright
  4. Contents at a Glance
  5. Contents
  6. Foreword
  7. About the Authors
  8. About the Technical Reviewer
  9. Acknowledgments
  10. Introduction
  11. CHAPTER 1  Game Planning and Programming Basics
    1. Planning the Game
    2. Game Planning
    3. XNA Game Programming Concepts
    4. Summary
  12. CHAPTER 2  2D Graphics, Audio, and Input Basics
    1. 2D Graphics
    2. Game Input
    3. Game Audio
    4. Summary
  13. CHAPTER 3  Creating Your First 2D Game
    1. Design for the First Game: Rock Rain
    2. Let's Get to It
    3. An Xbox 360 Version of Rock Rain
    4. Summary
  14. CHAPTER 4  Improving Your First 2D Game
    1. Planning Rock Rain's New Version
    2. Creating the Game Screens
    3. Navigating Between the Scenes
    4. Summary
  15. CHAPTER 5  Basics of Game Networking
    1. Introducing Multiplayer Games
    2. Introducing XNA Networking
    3. Summary
  16. CHAPTER 6  Rock Rain Live!
    1. Planning Rock Rain Live
    2. Adding the Support for Network Games
    3. Changing the Opening Screen
    4. Creating the Network Game Scene
    5. Creating the Game Sessions
    6. Let's Talk
    7. Synchronizing the Players
    8. Summary
  17. CHAPTER 7  Rock Rain Zune
    1. Planning Rock Rain Zune
    2. Organizing the Game
    3. Modifying the Classes
    4. Deploying the Game on the Zune
    5. Summary
  18. CHAPTER 8  3D Game Programming Basics
    1. 3D Coordinate Systems and Projections
    2. Vertices and Primitives
    3. Vectors, Matrices, and 3D Transformations
    4. Lights, Camera . . . Effects!
    5. Drawing the 3D Axis in XNA
    6. Models and Meshes
    7. Summary
  19. CHAPTER 9  Rendering Pipeline, Shaders, and Effects
    1. Rendering Pipeline
    2. Shaders
    3. High-Level Shading Language
    4. Techniques, Passes, and Effects
    5. Shader Authoring Tools
    6. Summary
  20. CHAPTER 10  Lights, Camera, Transformations!
    1. Cameras
    2. Lights
    3. Camera and Light Managers
    4. Object Transformation
    5. Summary
  21. CHAPTER 11  Generating a Terrain
    1. Height Maps
    2. Creating the Terrain Class
    3. An Overview of Terrain Techniques
    4. Creating the Terrain Effect
    5. Drawing the Terrain
    6. Extending the Terrain Effect with Normal Mapping
    7. Querying the Terrain's Height
    8. Ray and Terrain Collision
    9. Summary
  22. CHAPTER 12  Skeletal Animation
    1. Types of Animations
    2. Skeleton and Bone Representation
    3. Extending the Content Pipeline for Model Animation
    4. Using the AnimatedModel Class in XNA
    5. Summary
  23. CHAPTER 13  Creating a Third-Person Shooter Game
    1. Designing the Game
    2. Starting the Game Engine
    3. Creating Helper Classes
    4. Creating the Game Logic
    5. Finishing the Game Engine
    6. Summary
  24. CHAPTER 14  Closing Words
    1. Where You Are Now
    2. Where Do You Go from Here?
    3. Create Your Own Game
  25. INDEX