XNA Framework and Windows Phone 8 development
You cannot create new XNA
projects that target Windows Phone 8 Developer Preview
You
cannot create new XNA projects, that target Windows Phone 8 Developer Preview.
If you select an XNA project template, then you can only choose Windows Phone
OS 7.1 as the target operating system.
You cannot upgrade existing XNA
projects to target Windows Phone 8 Developer Preview
You
cannot upgrade existing XNA projects, to target Windows Phone 8 Developer
Preview.
You can continue to develop and
maintain XNA projects that target Windows Phone 7.1
You can
continue to develop and maintain new or existing XNA projects, that target
Windows Phone 7.1.
You can use certain XNA
Framework assemblies in projects that target Windows Phone 8 Developer Preview
You can
reference and use the following XNA Framework assemblies in apps that target
Windows Phone 8 Developer Preview:
- Microsoft.Xna.Framework.dll
- Microsoft.Xna.Framework.Input.Touch.dll
- Microsoft.Xna.Framework.Audio.dll
- Microsoft.Xna.Framework.Media.dll
- Microsoft.Xna.Framework.MediaLibraryExtensions.dll
- Microsoft.Xna.Framework.GamerServices.dll
- Microsoft.Xna.Framework.GamerServicesExtensions.dll
Game
DirectX for
Windows Phone
Microsoft
Media Foundation for Windows Phone
Applies to: Windows Phone 8 Developer
Preview only
Microsoft
Media Foundation (MF) is a framework for audio and video capture and playback
for the desktop. Microsoft Media Foundation for Windows Phone is a
reimplementation of a subset of the MF APIs. This feature enables Windows Phone
8 Developer Preview apps to implement the following scenarios.
- Rendering video to textures in
apps that use native code.
- Displaying cinematics for
games.
- Playing in-game background
audio in apps that use native code, such as a game soundtrack.
XAML and
Direct3D apps for Windows Phone
Applies to: Windows Phone 8 Developer Preview only
With Windows Phone 8 Developer Preview, you
can use Direct3D to render graphics that are displayed behind or inline with
XAML controls and content. With the DrawingSurfaceBackgroundGrid control, your
graphics are displayed across the entire screen, below any other XAML elements
on the page, including any elements in the frame. With the DrawingSurface
control, you can choose an area of the screen to draw on. The size and layout
of your drawing surface are handled just as they are with other XAML controls. Both
of these controls require your application to create a Windows Phone Runtime
component defining a class that implements an interface, either
IDrawingSurfaceBackgroundContentProvider or IDrawingSurfaceCOntentProvider, and
hosts the actual Direct3D drawing code. To receive touch input, your class must
also implement IDrawingSurfaceManipulationHost.
Native audio
APIs for Windows Phone 8
Applies to: Windows Phone 8 Developer
Preview only
Windows
Phone 8 Developer Preview apps can use the WASAPI and XAudio2 APIs to play and
process audio and manage audio streams. This topic describes these interfaces
and some of the differences between the desktop and phone implementations.
This
topic contains the following sections.