tutorial terraria redist para microsoft fx40 framework descargar aeropuerto c# xna windows-phone-8

c# - redist - xna para terraria



¿Cómo puede mi juego tener un ícono ancho para la pantalla de inicio? (1)

Como XNA solo es compatible con las aplicaciones de WP7, deberá verificar si su aplicación se está ejecutando en WP8 y, en caso afirmativo, utilizar la función de reflexión para actualizar el mosaico a los iconos de WP8. Hay un buen ejemplo de cómo se vería ese fragmento de código en este artículo de MSDN. Agregar funcionalidad de Windows Phone 8 Tile a las aplicaciones Windows Phone OS 7.1.

Puede ser más fácil para usted utilizar la biblioteca Mangopollo que tiene esa capacidad incorporada con API similares a la de WP8. Aquí está el código fuente que envuelve las API de WP8 para que se llame desde WP7 @ http://mangopollo.codeplex.com/SourceControl/changeset/view/100687#2023247

Y aquí está el fragmento de código de Mangopollo para usar los mosaicos WP8 en aplicaciones WP7:

if (!Utils.CanUseLiveTiles) { MessageBox.Show("This feature needs Windows Phone 8"); return; } try { var mytile = new FlipTileData { Title = "wide flip tile", BackTitle = "created by", BackContent = "Rudy Huyn", Count = 9, SmallBackgroundImage = new Uri("/Assets/logo159x159.png", UriKind.Relative), BackgroundImage = new Uri("/Assets/Background336x336_1.png", UriKind.Relative), BackBackgroundImage = new Uri("/Assets/Background336x336_2.png", UriKind.Relative), WideBackContent = "This is a very long long text to demonstrate the back content of a wide flip tile", WideBackgroundImage = new Uri("/Assets/Background691x336_1.png", UriKind.Relative), WideBackBackgroundImage = new Uri("/Assets/Background691x336_2.png", UriKind.Relative) }; #if ALTERNATIVE_SOLUTION var mytile = Mangopollo.Tiles.TilesCreator.CreateFlipTile("flip tile", "created by", "Rudy Huyn", "This is a very long long text to demonstrate the back content of a wide flip tile", 9, new Uri("/Assets/logo159x159.png", UriKind.Relative), new Uri("/Assets/Background336x336_1.png", UriKind.Relative), new Uri("/Assets/Background336x336_2.png", UriKind.Relative), new Uri("/Assets/Background691x336_1.png", UriKind.Relative), new Uri("/Assets/Background691x336_2.png", UriKind.Relative)); #endif ShellTileExt.Create(new Uri("/MainPage.xaml?msg=from%20wipe%20flip%20tile", UriKind.Relative), mytile, true); } catch { MessageBox.Show("remove tile before create it again"); }

Una cosa más para recordar es que otras API WP8 se pueden usar directamente desde XNA aunque las aplicaciones XNA sean aplicaciones WP7. Aquí hay un ejemplo de cómo usar WP8 in-app purhcase en aplicaciones WP7 (incluido XNA). Y aquí hay un ejemplo sobre cómo usar los nuevos WP8 Launchers & Choosers en aplicaciones WP7 (desplácese hacia abajo).

Estoy creando un juego para WP8, pero está en XNA. ¿Cómo puedo hacer que tenga un ícono ancho para la pantalla de inicio? Solo pequeño y normal es compatible por defecto