-
Chapter 1 Getting Started
-
System Requirements
-
Additional Resources
-
Installation
-
Creating Your First XNA Application
-
What You Just Did
-
Summary
-
Test Your Knowledge: Quiz
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 11 Creating a First-Person Camera
-
Components of a Moving 3D Camera
-
Moving in a First-Person Camera
-
Rotations in a First-Person Camera
-
Coding the Camera for the 3D Game
-
What You Just Did
-
Summary
-
Test Your Knowledge: Quiz
-
Test Your Knowledge: Exercise
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
-
Chapter 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
-
Adding Draw Code
-
Adding Biohazard Bombs of Insanity!
-
What You Just Did
-
Summary
-
Test Your Knowledge: Quiz
-
-
Appendix Answers to Quizzes and Exercises
-
: Getting Started
-
: Fun with Sprites
-
: User Input and Collision Detection
-
: Applying Some Object-Oriented Design
-
: Sound Effects and Audio
-
: Basic Artificial Intelligence
-
: Putting It All Together
-
: Deploying to the Microsoft Zune
-
: 3D Game Development
-
: 3D Models
-
: Creating a First-Person Camera
-
: 3D Collision Detection and Shooting
-
: HLSL Basics
-
: Particle Systems
-
: Wrapping Up Your 3D Game
-
: Deploying to the Xbox 360
-
: Multiplayer Games
-
-
Colophon
- Title:
- Learning XNA 3.0
- By:
- Aaron Reed
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- November 2008
- Ebook Release:
- November 2008
- Pages:
- 512
- Print ISBN:
- 978-0-596-52195-0
- | ISBN 10:
- 0-596-52195-2
- Ebook ISBN:
- 978-0-596-15691-6
- | ISBN 10:
- 0-596-15691-X
The animal on the cover of Learning XNA 3.0 is a sea robin fish (Chelidonichthys lucernus), otherwise known as a sapphirine gurnard. While the body of the fish is usually a somewhat bland color mix of browns, reds, and whites, its eyes are a striking peacock blue.
The sea robin fish is so named because it swims across the ocean floor and opens and closes its fins in a manner reminiscent of a flying bird. Some species of the fish also use their fins to fly above water for short distances.
In addition to having "wings," the sea robin fish also has six "legs" (three on each side of its body) that were once part of its pectoral fin. These legs-which are really flexible spines-allow the sea robin fish to stir up and detect food from the ocean floor while walking.
The sea robin fish occasionally brings to mind yet another creature: when caught, the fish croaks like a frog. Chefs say the sea robin fish can replace scorpion fish in bouillabaisse, and add that the fish has firm and tender flesh when cooked.
