XNA Framework

Dirk Primbs
Developer Evangelist
Microsoft Deutschland GmbH
Goals

Embrace creator community on Microsoft
platforms
 Windows
 Xbox 360



Make writing games significantly easier
Establish a vibrant creator community
Provide education solutions using retail Xbox
360 consoles
Overview
Game Studio Game Studio
Express
Express
FrameworkFramework
XNA Game Studio Express
Extends C# Express to
support XNA Framework,
building game content and
targeting Xbox 360
XNA Framework
Cross Platform Game
Development Framework
.NET Framework for 360
Custom version of the
.NET Compact Framework
A .NET game development platform that you
use to create games for Xbox 360 and
Windows
Simplifies cross-platform development
Focus on your game, not the platform
Consistent, easy-to-use APIs
Layers
Games
Starter Kits
Extended
Framework
Core
Framework
Platform
Legend
Code
Content
Content Pipeline
Application Model
Graphics
Direct3D
XNA Provides
Audio
XACT
You Provide
Components
Input
Math
XINPUT
Community
Storage
XCONTENT
XNA Framework
Application Model
Get up and running quickly
First lines of code are for your game
Platform abstraction
What’s the best way to design the game loop?
How do I create and manage my window?
How do I follow platform best practices?
Extensible
Provide base components that are easily
extended.
Interfaces for plugging in existing libraries
XNA Framework
Graphics
Provides low level render capabilities
Built on top of Direct3D 9
Programmable Pipeline Only
No Fixed Function Support
BasicEffect helps get up and running
SpriteBatch for doing 2D and Particles
Provided resources
Model, Texture, Effects, and Shaders
Unifies Platform Hardware and APIs
Tiling, Resolve, Surfaces, etc
XNA Framework
Audio
Based on XACT
Lets sound designers and programmers work more
naturally
Build up sound assets using XACT Tool
Easier integration for developers
Access them via logical names
Looping, streaming, and memory management
No low-level buffer management
XNA Framework
Input
Makes getting user input extremely easy
Immediate mode programming model
No initialization
No state management
Provides
Xbox 360 controller
Keyboard
Mouse (Windows only)
XNA Framework
Math and Storage
Math
Vector, Matrix, Quaternion, Plane, AABB, Sphere,
Ray, Frustum, Curve
Right-handed by default
Intersection and movement helpers
Storage
 Provides an easy way to read and write game data
and saves
 Files stored in the correct location on each platform
www.xna.com
© 2007 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.