从Windows Phone 8 Developer Docs整理的关于XNA记录(Preview)

本文介绍了使用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结合进行图形渲染和触摸输入处理。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


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.

 

转载于:https://www.cnblogs.com/qinxg/archive/2012/07/26/2610811.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值