[英]Built a game for wp7 which will run on wp8 and w8? [closed]
I am planing to build a game for windows phone 7.5 and was wondering what technologies I used so that when windows phone 8 is release I can easily convert my game to windows phone 8 and windows 8 UI game. 我正在计划为Windows Phone 7.5构建游戏,并且想知道我使用了哪些技术,以便当Windows Phone 8发布时我可以轻松地将我的游戏转换为Windows Phone 8和Windows 8 UI游戏。 Can I build a c++ native app?
我可以构建一个c ++本机应用程序吗?
C++ is not available for Windows Phone 7.5. C ++不适用于Windows Phone 7.5。 You are limited to managed .Net (C# VB.Net).
您只能管理.Net(C#VB.Net)。 For games you can use pure Silverlight or XNA.
对于游戏,您可以使用纯Silverlight或XNA。 If you want this game to easily go to Windows 8 and Windows Phone 8 you can use either platform.
如果您希望此游戏轻松转到Windows 8和Windows Phone 8,您可以使用任一平台。 If using Silverlight, stick to the basic Silverlight controls, do not use any Toolkit controls.
如果使用Silverlight,坚持使用基本的Silverlight控件,请不要使用任何Toolkit控件。 If you already know Silverlight this is an excelent choice.
如果您已经了解Silverlight,那么这是一个很好的选择。
If you would like to learn something new, I would recommend using XNA. 如果你想学习新东西,我建议使用XNA。 XNA is not available for direct Windows [Phone] 8 apps, but there are tools that make it so your app will compile and work on Windows [Phone] 8. Here is an article from Channel9 that talks about those tools.
XNA不适用于直接的Windows [Phone] 8应用程序,但有一些工具可以使您的应用程序在Windows上编译和工作[Phone] 8.这是Channel9中有关这些工具的文章。
I can also say that a friend of mine got a complicated XNA game running on Windows 8 in less than two hours. 我还可以说,我的一个朋友在不到两个小时的时间内在Windows 8上运行了一个复杂的XNA游戏。
I quote you can write an app using XNA that will run on Windows Phone 8 because Windows Phone 7.X apps will be able to run on Windows Phone 8. But you cannot write a Windows Phone 8-specific app using XNA
from here . 我引用
you can write an app using XNA that will run on Windows Phone 8 because Windows Phone 7.X apps will be able to run on Windows Phone 8. But you cannot write a Windows Phone 8-specific app using XNA
从这里 you can write an app using XNA that will run on Windows Phone 8 because Windows Phone 7.X apps will be able to run on Windows Phone 8. But you cannot write a Windows Phone 8-specific app using XNA
。 All the best :) 祝一切顺利 :)
You can code your Windows Phone 7 game only in XNA. 您只能在XNA中编写Windows Phone 7游戏。 However, if you want to port it to Windows Phone 8 and to Windows 8 you could use MonoGame .
但是,如果要将其移植到Windows Phone 8和Windows 8,则可以使用MonoGame 。 Note that this will also enable you to port your game to a variety of platforms.
请注意,这还可以让您将游戏移植到各种平台。 Since there is no SDK yet, MonoGame does not support Windows Phone 8 but it does support Windows 8.
由于还没有SDK,MonoGame不支持Windows Phone 8,但它支持Windows 8。
It is also possible to use XNA and Unity which will give you even more portability and a very nice tool chain. 它也可以使用XNA和Unity,它将为您提供更多的可移植性和非常好的工具链。 But this is purely experimental for now.
但这暂时是纯粹的实验性的。
If you want to target WP7, go for XNA and port it later. 如果你想要定位WP7,请转到XNA并稍后移植它。 XNA games will run on WP8, but you cannot target WP8 which means that some WP8 specific features, like in app purchasing, will not be available to you.
XNA游戏将在WP8上运行,但你不能以WP8为目标,这意味着你将无法使用某些WP8特定功能,例如在应用程序购买中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.