C#游戏开发的Windows Phone 8的? [英] C# Game Development for Windows Phone 8?
问题描述
我有兴趣在在游戏的发展尽我的技能。我是一个相当不错的C#开发。但是我现在的技能是在应用程序开发(WPF,WCF和实体框架)。
I am interested at trying my skills at game development. I am a fairly good C# developer. But my current skill set is in application development (WPF, WCF and Entity Framework).
我想弄清楚如何使图形游戏的Windows Phone 8。但我所看到的(游戏)的例子是使用C ++。
I am trying to figure out how to make a graphical game for Windows Phone 8. But all the examples I see (for games) are using C++.
8年以前,我是一个C ++游戏开发者,但我已经忘记了大部分的这些技能(我无疑,他们现在会是有用的日子反正)。
8+ years ago I was a C++ Game Developer, but I have forgotten most of those skills (I doubt they would be useful now days anyway).
我不是在寻找3D渲染。一个不错的2D(塔防)的比赛。
I am not looking for 3D rendering. Just a nice 2D (Tower Defense) game.
我宁愿代码在C#如果可能的话。 可以通过游戏开发中使用C#来完成?
I would rather code in C# if possible. Can game development be done using C#?
如果是这样,就从哪里开始,将不胜感激的指针。
If so, a pointer on where to start would be appreciated.
推荐答案
这是我能找到的:
有一个叫SharpDX库可让您从C#调用的DirectX。这似乎相当不错。
There is a library called SharpDX that allows you to call DirectX from C#. It seems fairly good.
不过,Windows Phone的厂商没有包括的Direct2D支持。所以,除非你打算做一个完全的3D应用程序,你的运气了(这是大量的工作让我告诉你!)。
But, the Windows Phone makers did not include support for Direct2D. So unless you are planning to make a fully 3D app, you are out of luck (and that is a lot of work let me tell you!).
所以,如果你只是想一个不错的2D应用程序,这些都是你的选择:
So, if you just wanted to make a nice 2D app, these are your choices:
- 编写使用XAML和C#(?性能问题),你的游戏
- 使用C#,SharpDX和3D(但只能在一个普通的画)撰写您的游戏(很多关于2D的工作)。
- 使用了DirectX把在CodePlex上找到工具包。它可以让你使用XNA垂死框架的API进行开发(这是一个C ++选项)。
这篇关于C#游戏开发的Windows Phone 8的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!