Synopses & Reviews
This engaging, learn-by-doing guide combines fun and games with the fundamentals of computer programming. Computer programming often has a reputation as being mired in details and short on fun. Now Xbox gamers and aspiring developers can have fun while learning hands-on how to create and customize Xbox 360 games! With XNA Game Studio and Visual C# 2005, beginning programmers can easily modify existing Xbox games—and even learn how to build their own!
About the Author
Rob Miles has been teaching computer programming for more than 25 years. An expert on Visual C#(R) 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.
Table of Contents
Dedication; Acknowledgments; Introduction; Who This Book Is For; System Requirements; Code Samples; Support for This Book; Questions and Comments; Getting Started; Chapter 1: Computers, Xboxes, 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 Pop Quiz; Chapter 2: Programs, Data, and Pretty Colors; 2.1 Introduction; 2.2 Making a Game Display; 2.3 Controlling Color; 2.4 Conclusion; 2.5 Pop Quiz; 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 Pop Quiz; Using the XNA Framework; Chapter 4: Displaying Images; 4.1 Introduction; 4.2 Resources and Content; 4.3 Using Resources in a Game; 4.4 Conclusion; 4.5 Pop Quiz; 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 3D Text; 5.5 Creating Fake 3D; 5.6 Conclusion; 5.7 Pop Quiz; Chapter 6: Creating a Multiplayer Game; 6.1 Introduction; 6.2 Conclusion; 6.3 Pop Quiz; Chapter 7: Playing Sounds; 7.1 Adding Sound; 7.2 Using the XACT Audio Creation Tool; 7.3 Conclusion; 7.4 Pop Quiz; Chapter 8: Creating a Timer; 8.1 Making Another Game; 8.2 Finding Winners Using Arrays; 8.3 Conclusion; 8.4 Pop Quiz; 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 Pop Quiz; Games and Programming; 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 Pop Quiz; 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 Pop Quiz; 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 Pop Quiz; Chapter 13: Creating Gameplay; 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 Pop Quiz; Chapter 14: Making Complete Games; 14.1 Introduction; 14.2 Hide The Gamepad; 14.3 Pelmanism; 14.4 Pell Mell Pelmanism; 14.5 Game Creation; 14.6 Conclusion; 14.7 Very Silly Games; 14.8 verysillygames.com; Pop Quiz Answers; Chapter 1: Pop Quiz Answers; Chapter 2: Pop Quiz Answers; Chapter 3: Pop Quiz Answers; Chapter 4: Pop Quiz Answers; Chapter 5: Pop Quiz Answers; Chapter 6: Pop Quiz Answers; Chapter 7: Pop Quiz Answers; Chapter 8: Pop Quiz Answers; Chapter 9: Pop Quiz Answers; Chapter 10: Pop Quiz Answers; Chapter 11: Pop Quiz Answers; Chapter 12: Pop Quiz Answers; Chapter 13: Pop Quiz Answers; Glossary; Rob Miles;