Microsoft XNA Game Studio 3.0: Learn Programming Now!


Now you can build your own games for Windows, Xbox 360, and Zune—as you learn the underlying skills and concepts for computer programming. Use this hands-on guide to dive straight into your first project—adding new tools and tricks to your arsenal as you go. No experience required!

Teach yourself how to program—and bring your game ideas to ...

See more details below
Paperback (Second Edition)
$24.13 price
(Save 19%)$29.99 List Price
Other sellers (Paperback)
  • All (48) from $1.99   
  • New (11) from $1.99   
  • Used (37) from $1.99   
Sending request ...


Now you can build your own games for Windows, Xbox 360, and Zune—as you learn the underlying skills and concepts for computer programming. Use this hands-on guide to dive straight into your first project—adding new tools and tricks to your arsenal as you go. No experience required!

Teach yourself how to program—and bring your game ideas to life!

  • Learn XNA and C# fundamentals—and extend the challenge with each chapter
  • Write code to create and control game behavior
  • Build your game’s display—colors, graphics, text, lighting, 3-D effects
  • Capture and cue sounds
  • Process input from gamepads and keyboards
  • Add excitement to gameplay with timers, scoring, and survival
  • Create multiplayer features
  • Tweak existing games—and invent totally new ones
Read More Show Less

Product Details

  • ISBN-13: 9780735626584
  • Publisher: Microsoft Press
  • Publication date: 6/26/2009
  • Edition description: Second Edition
  • Edition number: 2
  • Pages: 400
  • Sales rank: 1,500,768
  • Product dimensions: 7.30 (w) x 8.90 (h) x 1.20 (d)

Meet the Author

Rob Miles has been teaching computer programming for more than 25 years. An expert on Visual C#® and a Microsoft® MVP for Device Application Development, Rob enjoys inspiring new and experienced programmers. As well as writing his own games, programs, and poetry, Rob has consulted on a wide range of commercial software projects.

Read More Show Less

Table of Contents

Who This Book Is For;
System Requirements;
Code Samples;
Support for This Book;
Questions and Comments;
Getting Started;
Chapter 1: Computers, C#, XNA, and You;
1.1 Introduction;
1.2 How the Book Works;
1.3 C# and XNA;
1.4 Getting Started;
1.5 Writing Your First Program;
1.6 Conclusion;
1.7 Chapter Review Questions;
Chapter 2: Programs, Data, and Pretty Colors;
2.1 Introduction;
2.2 Making a Game Program;
2.3 Working with Colors;
2.4 Controlling Color;
2.5 Conclusion;
2.6 Chapter Review Questions;
Chapter 3: Getting Player Input;
3.1 Introduction;
3.2 Reading a Gamepad;
3.3 Using the Keyboard;
3.4 Adding Vibration;
3.5 Program Bugs;
3.6 Conclusion;
3.7 Chapter Review Questions;
Images, Sound, and Text;
Chapter 4: Displaying Images;
4.1 Introduction;
4.2 Resources and Content;
4.3 Using Resources in a Game;
4.4 Conclusion;
4.5 Chapter Review Questions;
Chapter 5: Writing Text;
5.1 Introduction;
5.2 Text and Computers;
5.3 Getting the Date and Time;
5.4 Making a Prettier Clock with 3-D Text;
5.5 Creating Fake 3-D;
5.6 Conclusion;
5.7 Chapter Review Questions;
Chapter 6: Creating a Multi-Player Game;
6.1 Introduction;
6.2 Conclusion;
6.3 Chapter Review Questions;
Chapter 7: Playing Sounds;
7.1 Adding Sound;
7.2 Conclusion;
7.3 Chapter Review Questions;
Chapter 8: Creating a Timer;
8.1 Making Another Game;
8.2 Finding Winners Using Arrays;
8.3 Conclusion;
8.4 Chapter Review Questions;
Chapter 9: Reading Text Input;
9.1 Using the Keyboard in XNA;
9.2 Working with Arrays, Objects, and References;
9.3 Displaying Keys;
9.4 Conclusion;
9.5 Chapter Review Questions;
Writing Proper Games;
Chapter 10: Using C# Methods to Solve Problems;
10.1 Introduction;
10.2 Playing with Images;
10.3 Creating a Zoom-Out;
10.4 Conclusion;
10.5 Chapter Review Questions;
Chapter 11: A Game as a C# Program;
11.1 Introduction;
11.2 Creating Game Graphics;
11.3 Projects, Resources, and Classes;
11.4 Creating Game Objects;
11.5 Conclusion;
11.6 Chapter Review Questions;
Chapter 12: Games, Objects, and State;
12.1 Introduction;
12.2 Adding Bread to Your Game;
12.3 Adding Tomato Targets;
12.4 Conclusion;
12.5 Chapter Review Questions;
Chapter 13: Making a Complete Game;
13.1 Introduction;
13.2 Making a Finished Game;
13.3 Improving Code Design;
13.4 Adding a Background;
13.5 Adding a Title Screen;
13.6 Conclusion;
13.7 Chapter Review Questions;
Chapter 14: Classes, Objects, and Games;
14.1 Introduction;
14.2 Design with Objects;
14.3 Classes and Structures;
14.4 References;
14.5 Value and Reference Types;
14.6 Creating a Sprite Class Hierarchy;
14.7 Adding a Deadly Pepper;
14.8 Conclusion;
14.9 Chapter Review Questions;
Chapter 15: Creating Game Components;
15.1 Introduction;
15.2 Objects and Abstraction;
15.3 Constructing Class Instances;
15.4 Adding 100 Killer Tangerines;
15.5 Adding Artificial Intelligence;
15.6 Adding Game Sounds;
15.7 From Objects to Components;
15.8 Conclusion;
15.9 Chapter Review Questions;
Chapter 16: Creating Multi-Player Networked Games;
16.1 Introduction;
16.2 Networks and Computers;
16.3 Xbox Live;
16.4 Bread and Cheese Pong;
16.5 Conclusion;
16.6 Making Games for Fun;
16.8 Chapter Review Questions;
Answers to the Chapter Review Questions;
Chapter 1;
Chapter 2;
Chapter 3;
Chapter 4;
Chapter 5;
Chapter 6;
Chapter 7;
Chapter 8;
Chapter 9;
Chapter 10;
Chapter 11;
Chapter 12;
Chapter 13;
Chapter 14;
Chapter 15;
Chapter 16;
About the Author;
Rob Miles;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted October 18, 2010

    No text was provided for this review.

Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)