Learning XNA 3.0. XNA 3.0 Game Development for the PC, Xbox 360, and Zune - Helion
ISBN: 978-05-965-5429-3
stron: 510, Format: ebook
Data wydania: 2008-11-22
Księgarnia: Helion
Cena książki: 101,15 zł (poprzednio: 117,62 zł)
Oszczędzasz: 14% (-16,47 zł)
Do you have what it takes to become a game developer? With this hands-on book, you'll learn quickly and easily how to develop computer games with Microsoft's XNA 3.0 framework-not just for your PC, but for Xbox 360 and the Microsoft Zune as well.
Written by an experienced university-level game development instructor, Learning XNA 3.0 walks you through the framework in a clear and understandable step-by-step format. Each chapter offers a self-contained lesson with lots of illustrations and annotated examples to help you master key concepts. Once you finish the book, you'll know how to develop sophisticated games from start to finish.
- Learn game development concepts from 2D animation to 3D cameras and effects
- Delve into high-level shader language (HLSL) and introductory artificial intelligence concepts
- Develop three complete and exciting games using 2D,3D and multiplayer concepts
- Develop and deploy games to the Xbox 360 and the Microsoft Zune
While teaching XNA to beginning game developers, author Aaron Reed noticed that several key concepts were difficult for students to grasp. Learning XNA 3.0 was written specifically to address those issues. With this book, you can test your understanding and practice new skills as you go with unique "Test Your Knowledge" exercises and review questions in each chapter.
Why wait? Amaze your family and friends by building your own games for the PC, Xbox 360, and Zune-with Learning XNA 3.0.
"An outstanding book! Teaches you XNA development in a smart way, starting from 2D basics and going into 3D and shader development. What I really like is the 'peeling the onion' approach the author takes, which builds up knowledge from previous chapters."--David "LetsKillDave" Weller, CEO, Cogito Ergonomics, LLC, and former XNA program manager
Osoby które kupowały "Learning XNA 3.0. XNA 3.0 Game Development for the PC, Xbox 360, and Zune", wybierały także:
- Tworzenie gier w języku HTML5 dla profesjonalistów. Wydanie II 67,42 zł, (20,90 zł -69%)
- GameMaker. Kurs video. Kompleksowy przewodnik tworzenia gier platformowych 154,58 zł, (55,65 zł -64%)
- Gry Unity i Facebook. Efektywna integracja, budowanie zasięgu i popularności. Kurs video 47,93 zł, (22,05 zł -54%)
- Unity. Kurs video. Poziom drugi. Tworzenie gier komputerowych 3D 47,93 zł, (22,05 zł -54%)
- Unity. Kurs video. Poziom pierwszy. Tworzenie gier komputerowych 3D 47,93 zł, (22,05 zł -54%)
Spis treści
Learning XNA 3.0. XNA 3.0 Game Development for the PC, Xbox 360, and Zune eBook -- spis treści
- Learning XNA 3.0
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Preface
- Who This Book Is For
- How This Book Is Organized
- Support
- Conventions Used in This Book
- Using Code Examples
- Wed Like to Hear from You
- Safari Books Online
- Acknowledgments
- 1. Getting Started
- System Requirements
- Additional Resources
- Installation
- Creating Your First XNA Application
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- 2. Fun with Sprites
- A Look Behind the Scenes
- Game Development Versus Polling
- Modifying Your Game
- Adding a Sprite to Your Project
- Loading and Drawing Your Sprite
- Transparency and Other Options
- Layer Depth
- Let's Move
- Animation
- Adjusting the Framerate
- Adjusting the Animation Speed
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 3. User Input and Collision Detection
- More Sprites
- Keyboard Input
- Mouse Input
- Gamepad Input
- Keeping the Sprite in the Game Window
- Collision Detection
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 4. Applying Some Object-Oriented Design
- Designing Your Classes
- Creating a Sprite Class
- Creating a User-Controlled Sprite Class
- Creating an Automated Sprite
- Game Components
- Coding the SpriteManager
- Cleaning Up
- Making Them Move
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 5. Sound Effects and Audio
- Using XACT
- Implementing XACT Audio Files in Code
- Using the Simplified API for Sound and Audio
- Adding More Sound to Your Game
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 6. Basic Artificial Intelligence
- The Turing Test
- Creating Sprites at Random Intervals
- Randomly Spawning Sprites
- Irrelevant Objects
- Creating a Chasing Sprite
- Creating an Evading Sprite
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 7. Putting It All Together
- Drawing 2D Text
- Randomly Generating Different Sprite Types
- Adding Some Variety to Your Sprites
- Adding a Background Image
- Game Scoring
- Game States
- Enabling/Disabling GameComponents
- Game-Over Logic and the Game-Over Screen
- Fine-Tuning Gameplay
- Creating Power-Ups
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 8. Deploying to the Microsoft Zune
- Setting Up Your Zune Device Connection
- Creating a Zune Project
- Input on the Zune
- Audio on the Zune
- Resolution and Gameplay Issues
- Converting the Collision Game from Windows to Zune
- Conditional Compilation Symbols
- Converting the Collision Game Audio
- Converting the Collision Game's Player Input Code
- Converting the Collision Game's Screen Size
- Zune Performance
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- 9. 3D Game Development
- Coordinate Systems
- Cameras
- Creating a 3D Camera
- Drawing Primitives
- Matrix Multiplication
- Movement and Rotation
- Backface Culling
- More on Rotations
- Even More Rotations
- Primitive Types
- Applying Textures
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 10. 3D Models
- Using 3D Models
- Setting Up the Project
- Adding a Model to Your Project
- Drawing a Model Using a BasicModel Class
- Adding a Model Manager
- Rotating Your Model
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 11. Creating a First-Person Camera
- Components of a Moving 3D Camera
- Moving in a First-Person Camera
- Rotations in a First-Person Camera
- Rotating a Camera in a Yaw
- Rotating a Camera in a Roll
- Rotating a Camera in a Pitch
- Coding the Camera for the 3D Game
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 12. 3D Collision Detection and Shooting
- Creating a Moving Enemy
- Adding Some Game Logic
- Firing Shots
- 3D Collision Detection and Bounding Spheres
- Adding a Crosshair
- Adding Sound
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 13. HLSL Basics
- HLSL Syntax
- Dissecting a Sample HLSL Effect File
- Applying an HLSL Effect in C#
- Applying HLSL Using Textures
- HLSL Effects: Creating a Negative
- HLSL Effects: Blur
- HLSL Effects: Grayscale
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- Test Your Knowledge: Exercise
- 14. Particle Systems
- Creating a Custom Vertex
- Creating a Particle Engine
- Adding a Particle Effect File
- Adding Your Particle Engine to Your Game
- Adding a Starfield
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- 15. Wrapping Up Your 3D Game
- Adding a Splash Screen Game Component
- Keeping Score
- Adding a Power-Up
- What You Just Did
- Test Your Knowledge: Exercise
- 16. Deploying to the Xbox 360
- Adding an Xbox 360 Device
- Converting a Project to Run on the Xbox 360
- Supporting Gamepad Input
- Deploying to the Xbox 360
- Xbox 360 Display Settings
- The Title Safe Region
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- 17. Multiplayer Games
- Split-Screen Functionality
- Network Game Development
- Network Configurations
- Writing an XNA Network Game
- Modifying the Sprite Class
- Modifying the UserControlledSprite Class
- Coding Your Game1 Class
- Adding Update Code
- Updating While in the SignIn Game State
- Updating While in the FindSession Game State
- Updating While in the CreateSession GameState
- Updating While in the Start Game State
- When the local player starts the game
- When the remote player starts the game
- Updating While in the InGame Game State
- Updating While in the GameOver Game State
- Adding Draw Code
- Adding Biohazard Bombs of Insanity!
- What You Just Did
- Summary
- Test Your Knowledge: Quiz
- A. Answers to Quizzes and Exercises
- Chapter 1: Getting Started
- Quiz Answers
- Chapter 2: Fun with Sprites
- Quiz Answers
- Exercise Answer
- Chapter 3: User Input and Collision Detection
- Quiz Answers
- Exercise Answer
- Chapter 4: Applying Some Object-Oriented Design
- Quiz Answers
- Exercise Answer
- Chapter 5: Sound Effects and Audio
- Quiz Answers
- Exercise Answer
- Chapter 6: Basic Artificial Intelligence
- Quiz Answers
- Exercise Answer
- Chapter 7: Putting It All Together
- Quiz Answers
- Exercise Answer
- Chapter 8: Deploying to the Microsoft Zune
- Quiz Answers
- Chapter 9: 3D Game Development
- Quiz Answers
- Exercise Answer
- Chapter 10: 3D Models
- Quiz Answers
- Exercise Answer
- Chapter 11: Creating a First-Person Camera
- Quiz Answers
- Exercise Answer
- Chapter 12: 3D Collision Detection and Shooting
- Quiz Answers
- Exercise Answer
- Chapter 13: HLSL Basics
- Quiz Answers
- Exercise Answer
- Chapter 14: Particle Systems
- Quiz Answers
- Chapter 15: Wrapping Up Your 3D Game
- Exercise Answer
- Chapter 16: Deploying to the Xbox 360
- Quiz Answers
- Chapter 17: Multiplayer Games
- Quiz Answers
- Chapter 1: Getting Started
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly