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.
本文介绍了使用XNA框架在Windows Phone 8 Developer Preview上进行开发的限制,包括无法创建针对该平台的新项目,现有项目无法升级到此平台。但继续在Windows Phone 7.1上开发和维护XNA项目仍然是可行的。同时,提供了可以在Windows Phone 8 Developer Preview应用中引用和使用的特定XNA框架组件,如Microsoft.Xna Framework及其相关组件。此外,还讨论了DirectX、Microsoft Media Foundation等技术在Windows Phone 8 Developer Preview中的应用,以及如何利用Direct3D和XAML结合进行图形渲染和触摸输入处理。

被折叠的 条评论
为什么被折叠?



