Skip to content

Your Basket

Free Post & Packing - Click for details

Receive the Foyles Newsletter

  • › Author Events
  • › Signings
  • › New Arrivals
  • › Offers
Newsletter sign up form
British Book Awards banner

Browse

[x]

This item has been added to your basket

View Basket

Professional XNA Programming
Building Games for Xbox 360 and Windows with XNA Game Studio 2.0

Contributor(s):
Benjamin Nitschke (author)
Format:
Paperback , 234 x 194 x 36mm , 600pp
Publication date:
22 Feb 2008 
Publisher:
Wiley-Blackwell (an imprint of John Wiley & Sons Ltd) 
ISBN-13:
9780470261286 
ISBN-10:
0470261285 

List Price: £26.99
Online Price: £22.94
You Save: £4.05 (15%)

Buy Now

2 in stock at Charing Cross Road for collection after 24 hours or dispatched from our warehouse within 48 hours.

Free Postage and Packing on UK orders

For details of Foyles prices online and in-store and delivery arrangements click here *


Synopsis:

"Professional XNA[registered] Programming Building Games for Xbox 360[registered] and Windows[registered]with XNA Game Studio 2.0, 2nd Edition" - This improved and updated edition of the bestseller will get you up and running quickly with building games for Xbox 360 and the Windows platform. Professional game developer and Microsoft MVP Benjamin Nitschke begins by explaining how to install the free XNA Game Studio 2.0 and then goes on to share essential advice for using it in a productive way. Before you know it, each successive chapter will have you developing small games that increase in difficulty. By using the chapters as building blocks, you'll evolve from 2D programming to 3D, and you'll ultimately create a full-blown graphics engine that can be used for more advanced game projects.Plus, you'll get an inside look at six fully functional games, including the popular Racing Game and the new Dungeon Quest. You will learn from this book - tips for adding music and sound with XACT; techniques for creating unique visual effects through Shaders; ways to access keyboard, mouse, and Xbox controllers with XInput; how to write your own XNA graphics engine and create a game engine; how to manage content in XNA; myriad ways of fine-tuning, debugging, and troubleshooting; how to make sure games run on the Xbox 360; ways to generate landscapes and tracks; and, how to take advantage of XNA's new networking APIs.This book is for anyone who wants to create games on the Xbox 360 and Windows platforms. Experience with C# or a similar .NET language is necessary, but previous game programming is not required. "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.

Table of Contents:

Acknowledgments. Introduction.

Part I, XNA Framework Basics. Chapter 1, Introducing Xna. Introduction to The XNA Framework. XNA Game Studio Express. Application Model. Content Pipeline. Get The Free XNA Game Studio Express. Requirements. Installing. What About Visual Studio 2005 Professional? Configuring Your Xbox 360. Getting Started. Your First Project. F5 and Go. Changing The Code. Notes About Xna. Important Links. Is C# Good for Game Development? Getting Used to The Content Pipeline. Differences With Mdx. Additional Tools and Tips. Changes in XNA 2.0. Troubleshooting. Summary. Chapter 2, Creating Your First Game, Pong. Game Ideas. Write Down Your Ideas! Agile Methodology. Solving Initial Difficulties. Creating Some Textures. Let's Write Pong. Sprites. Unit Testing in Games. Adding The Ball and Paddles. Handling Player Input. Collision Testing. Adding Sound. How This Looks on The Xbox 360. Challenge, Improve The Pong Game. Troubleshooting. Summary. Chapter 3, Helper Classes. Managing The Content Pipeline. Supported File Formats. Advantages and Disadvantages. Handling Content Directories. Importing and Accessing Content. Logging Error Messages. Unit Testing in Xna. Nunit and Testdriven.net. Starting Unit Tests. Golden Rules. Randomhelper Class. Generate Random Vectors. Stringhelper Class. Extracting Filenames. Writing Lists. Other Helpers. Spritehelper Class. Enumhelper Class. Colorhelper Class. The Breakout Game. Unit Testing in Breakout. Breakout Levels. The Game Loop. Drawing Breakout. Collision Testing Challenge, Improve The Breakout Game. Summary. Chapter 4, Game Components. The Game Class. Game Component. More Helper Classe. Texturefont Class. Input Class. Sound Class. Tetris, Tetris, Tetris! Rendering The Background. Handling The Grid. Block Types. Gravity. Handling Input. Testing. Challenge, Create The Nextblock Game Component. Summary.

Part II, Basic Graphics Engine. Chapter 5, Writing Your Own XNA Graphics Engine. What Should Your Engine Be Able to Do? The Engine Unit Test. 3D Models. Rendering of Textures. Line Rendering. 3D Programming. Model Unit Test. Testing Other Models. Plugging in More Game Components. Simple Camera Class. Screenshotcapturer Class. Making Sure Games Run on The Xbox 360. Downloading The XNA Game Launcher. Xbox 360 Setup and Deploying Games. Console Debugging and Tools. Challenge, Write a Game Component. Summary. Chapter 6, Shader Management. Shader Overview. History. Shaders Everywhere in Xna. Example Games. Step-by-step Shader Tutorial. FX Composer. FX File Layout. Parameters. Vertex Input Format. Vertex Shader. Pixel Shader. Importing The Shader Into Your Engine. Compiling Shaders. Using Parameters. Vertex Formats. Rendering With Shaders. Testing The Shader. Challenge. Summary. Chapter 7, Realism Through Normal Mapping. Adding Detail to Objects. Problems. Asteroids! Wrong Game or What? So How Do Shaders Work? Vertex Shaders and Matrices. Pixel Shader and Optimizations. Shadereffect Class. Tangentvertex Format. Normal Mapping Unit Test. Adding Tangent Data With a Custom Processor. Final Asteroid Unit Test. More Shaders. Offset Mapping. Glass Shader. Reflection and Water. Challenge, Add Parallax Mapping. Summary. Chapter 8, Post-screen Shaders and The Rocket Commander Game. Handling Post-screen Shaders. Pre-screen Sky Cube Mapping. Writing a Simple Post-screen Shader. Improvements. Implementing Post-screen Shaders. Rendertotexture Class. Postscreendarkenborder Class. Unit Test Result. More Post-screen Shaders. Motion Blur. Color Correction. Menu Effects. Rocket Commander Game. Performance in Xna. Moving From MDX to Xna. Using Threads to Improve Performance. Result and Screenshots. Challenge, Write an Edge Detection Shader. Summary.

Part Iii, Improving Your Game Engine. Chapter 9, Adding Sound With Xact. No Directsound. Handling .wav Files. Using Xact. Creating Projects. Creating Your Wave Bank. Compressing Music Data. Sound Banks. Cue Variables. Other Effects. Changes in XNA 2.0. Sound Class. Rocket Motor Sound. Whoosh, What Was That? Menu Sounds. Challenge, Create Your Xact Project. Summary. Chapter 10, Player Input and The User Interface. Input Class. The Update Method in The Input Class. Mouse Rectangles. Entering Text in Xna. Game Screens. Help Screen. In-game User Interface. Tips. Cameras. Space Camera. Challenge, Write a Free Camera Class. Summary. Chapter 11, Creating XNA Shooter. Putting It All Together. Sounds. User Interface. Textures. 3D Models. Animated Textures. Billboards. Landscape Rendering. Base Texture and Normal Map. Height Map. Adding Objects. XNA Shooter Game. Game Logic. 3D Effects. Unit Class. Projectile Class. Item Class. Final Screenshot. Challenge, Write a Game With Your Engine. Summary.

Part IV, Writing a Racing Game. Chapter 12, Generating Landscapes and Tracks. Game Comparisons. Gran Tourismo. Need for Speed. Trackmania. XNA Racing Game. Landscape Rendering. Textures. Rendering. Optimizing Tips. Tracks. Unit Testing to The Rescue. Interpolating Splines. More Complex Tracks. Importing The Track Data. Generating Vertices From The Track Data. Final Result. Challenge, Create a New Unit Test Track. Summary. Chapter 13, Physics. Newton's Laws of Motion. Keep It Simple. Gravitation. Physics Engines. Ageia Physx. Havok. Ode. Other. Implementing Physics. Handling Loopings. Spring Physics. Collision Detection. Physicsasteroidmanager. Car Collision. Challenge, Figure Out The Road Collision. Summary. Chapter 14, Fine-tuning and "Modding" The Racing Game. Game Concept. Game Idea. Additional Features. Game Screens. Splash Screen. Main Menu. Game Screen. Highscores. Final Unit Testing and Tweaking. Tweaking The Track. Shadow Mapping. Final Testing on Windows. Final Testing on The Xbox 360. Additional Ideas. More Cars. Online Highscore List. More Shaders and Effects. More Game Modes. Multiplayer Mode. Challenge, Write Your Own Mod! Example Game, Speedy Racer. Summary.

Part V, Writing Multiplayer Games. Chapter 15, Multiplayer and Xbox Live. What's New in XNA 2.0. Overview About Networking in XNA 2.0. TCP Versus Udp. Firewalls and Punching Through Nats. Network Architecture. Sending UDP Data. Connecting Two Players. Network Messages. Server Game List. Writing a Chat Application. Game Screens. Handling Chat Messages. The Final Chat Application. Challenge, Write a Multiplayer Application. Summary. Chapter 16, Role-playing Games. Types of Role-playing Games. "Hack and Slash" Role-playing Games. Massively Multiplayer Role-playing Games. Designing Dungeon Quest. Ideas. Scenario. Story. Characters. Enemies. Weapons and Items. Abilities and Spells. Abilities. Spells. Leveling System. Challenge, Improve The Leveling System. Summary. Chapter 17, Dungeon Quest. Creating The Engine. Changes to The Graphic Engine. Using Collada Model Files. Handling Many Point Lights. Adding AI. Path-finding. Alert-system via Cries. Multiplayer Support. Network Messages. Xbox Live Support. The Dungeon Quest Editor. Summary. Appendix A, Resources. Index.

Additional Information:

Illustrations: illustrations Related subjects: Video games Computer games - Programming Computer games Computer programming

* Please Note:

Online: All orders placed here will be charged at the online price shown above whether you have the item delivered or you collect it.

Instore: Items purchased instore are at the price on offer there at that time.

Store Collection: If you are paying online but wish to collect from our Charing Cross Road store, please allow 24 hours between purchase and collection. Please go to Customer Services in the basement

Same-day: For same-day collections, please reserve the book directly with the store on 020 7437 5660 or email orders@foyles.co.uk. Please note the price charged will be the instore not online price.