Limit search to available items
Book Cover
E-book
Author Miles, Rob, 1957-

Title Microsoft XNA Game Studio 4.0 : learn programming now! / Rob Miles
Published Redmond, Wash. : Microsoft Press, ©2011

Copies

Description 1 online resource (xxi, 438 pages) : illustrations
Contents Introduction -- Who This Book Is For -- System Requirements -- Code Samples -- Errata and Book Support -- We Want to Hear from You -- Stay in Touch -- Part I. :Getting Started -- 1. :Computers, C#, XNA, and You -- Introduction -- Learning to Program -- Becoming a Great Programmer -- How the Book Works -- C# and XNA -- Getting Started -- Installing the Development Environment and the XNA Framework -- Setting Up a PC to Run XNA Games -- Setting Up an Xbox 360 to Run XNA Games -- Setting up a Windows Phone to run XNA games -- Writing Your First Program -- Creating Your First Project
Running Your First ProgramStopping a Program -- Storing Games on the Xbox 360 or Windows Phone -- Running the Same XNA Game on Different Devices -- Conclusion -- Chapter Review Questions -- 2. :Programs, Data, and Pretty Colors -- Introduction -- Making a Game Program -- Statements in the Draw Method -- Working with Colors -- Storing Color Values -- Setting a Color Value -- Controlling Color -- Games and Classes -- Classes as Offices -- Game World Data -- Storing Data in Computer Memory -- Drawing by Using Our Color Intensity Variables -- Updating Our Colors -- Memory Overflow and Data Values -- Making a Proper Mood Light
Making Decisions in Your ProgramThe Completed Mood Light -- Finding Program Bugs -- Conclusion -- Chapter Review Questions -- 3. : Getting Player Input -- Introduction -- Reading a Gamepad -- Gamepads and Classes -- Finding a Gamepad -- Testing the Gamepad Status -- Using the Keyboard -- Stopping the Game with the Escape Key -- Using a Gamepad and a Keyboard at the Same Time -- Adding Vibration -- Controlling the Vibration of a Gamepad -- Testing Intensity Values -- Program Bugs -- Conclusion -- Chapter Review Questions -- Part II. :Images, Sound, and Text -- 4. :Displaying Images -- Introduction -- Resources and Content
Getting Some PicturesContent Management Using XNA -- Working with Content Using XNA Game Studio -- XNA Game Studio Solutions and Projects -- Adding Content to a Project -- Using Resources in a Game -- Loading XNA Textures -- Positioning Your Game Sprite on the Screen -- Sprite Drawing with SpriteBatch -- Filling the Screen -- Conclusion -- Chapter Review Questions -- 5. :Writing Text -- Introduction -- Text and Computers -- Text as a Resource -- Creating the XNA Clock Project -- Adding a Font Resource -- Loading a Font -- Drawing with a Font -- Changing the Font Properties -- Getting the Date and Time
Making a Prettier Clock with 3-D TextDrawing Multiple Text Strings -- Repeating Statements with a for Loop -- Other Loop Constructions -- Fun with for Loops -- Creating Fake 3-D -- Creating Shadows Using Transparent Colors -- Drawing Images with Transparency -- Conclusion -- Chapter Review Questions -- 6. :Creating a Multi-Player Game -- Introduction -- Creating the Button-Bash Game -- Level and Edge Detectors -- Constructing the Complete Game -- Adding Test Code -- Conclusion -- Chapter Review Questions -- 7. :Playing Sounds -- Adding Sound -- Creating the Drum Pad Project -- Capturing Sounds with Audacity
Storing Sounds in Your Project
Summary Provides information on creating games for the Xbox 360, Windows Phone 7, and a PC, covering such topics as writing code, adding 3D effects, processing input from gamepads and keyboards, and manipulating colors and graphics
In Online access: O'Reilly Media, Inc. O'Reilly Online Learning Platform: Academic edition (EZproxy Access)
SUBJECT Microsoft XNA (Computer file) http://id.loc.gov/authorities/names/n2007011843
Windows phone (Computer file) http://id.loc.gov/authorities/names/n2010077421
Microsoft XNA (Computer file) blmlsh
Windows phone (Computer file) blmlsh
Microsoft XNA (Computer file) fast
Windows phone (Computer file) fast
Microsoft XNA (Computer software) sears
Subject Video games -- Programming.
Video games -- Design
Xbox video games.
Xbox 360 (Video game console)
GAMES -- Video & Electronic.
Computer games -- Design
Video games -- Programming
Xbox 360 (Video game console)
Xbox video games
Computer games -- Computer software.
Form Electronic book
LC no. 2010942730
ISBN 9780735659841
0735659842
9780735660472
0735660476