现在不支持Xna,还有什么更好的选择? [英] Now that Xna is unsupported, what is a better choice?

查看:189
本文介绍了现在不支持Xna,还有什么更好的选择?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不支持Xna,很不幸,我最近(〜9个月)开始游戏编程.什么是更好的选择,DirectX或OpenGl.

Xna is unsupported, and unfortunately I started game programming recently(~9 months). What is a better choice, DirectX or OpenGl.

现在,我认为DirectX或OpenGl没有C#的官方库,那么哪一个对新手来说会更好?

Now, I don't think DirectX or OpenGl have official libraries for C#, so which one would be better for a newcomer?

我听说过Mono,SharpDx和SlimDx之类的东西.但是DirectX相对于OpenGl有什么优势,反之亦然.

I heard of stuff like Mono, SharpDx, and SlimDx.. But are there any advantages of DirectX over OpenGl, vice versa.

此外,这些Mono,SharpDx和SlimDx分别是什么?他们有名字吗?

Also, what are these Mono, SharpDx, and SlimDx called? Do they have a certain name?

推荐答案

XNA状态不足为奇...
我确实记得我们曾经有过Managed DirectX的经历:)

No surprise in XNA status...
I do remember when we had Managed DirectX once upon a time :)

我认为,如果您针对Windows OS,则应该使用VS2012/C#作为截止日期,VS是目前最丰富,最直接,最方便的IDE. C#语言本质上是一种学术性的语言-在MS对与OOP/OOD相关的抽象数学模型进行实质性研究之前,没有任何一种语言可以使用.因此,从某种意义上说,它们是大叔",可以确保尽可能地从不良设计或潜伏在开发人员路径中的设计缺陷中清除出路..
换句话说,要制作出可以解决C#中的设计缺陷的东西要困难得多.
从这个意义上讲,DirectX只是一堆DLL,您可以将其合并到游戏中以为其提供所需的UI.

I think that if you targeting Windows OS you should use VS2012/C# as to this date VS is the richest most straight-forward and highly convenient IDE out there. C# as language is very academic in nature - nothing gets in that language before MS do a substantial investigation of the abstract mathematical models which relate to OOP/OOD. So in that sense they serve as a "big uncle" which make sure to clear the way as much as possible from bad design or design flaws that lurks in the developer path..
In other words, it is much harder to make something that work with design flaws in C#.
DirectX in that sense is just a bunch of DLL’s you can incorporate into your game to give it the UI you want.

如果您打算针对更多的OS,我建议您将Code-Blocks作为IDE和OPENGL作为您的UI提供程序,但是请记住,这是C ++编程,使用起来不太方便,更不用说您将针对特定的应用程序打开应用程序了.在特定操作系统中可能发生的错误.

If you plan to target more OS’s, I would recommend Code-Blocks as IDE and OPENGL as your UI provider, but keep in mind that it is C++ programming which is less convenient, not to mention you will open your application to specific errors which may occur in specific OS’s..

您的最后一个选项是基于Java的,这使您可以从我提到的两个选项中受益,但执行速度会降低约44%,我认为这是游戏的不错选择.

Your last option is Java based, which gives you the benefits from both of the options I mentioned, but will be around 44% slower in execution which to my taste discharges it as a good option for games.

在选择开发路径时,您需要非常仔细地考虑预算, 在示例中,考虑在跨平台的情况下(相对于仅在Windows中)对游戏进行质量检查的费用是多少?

You need to consider your budget very carefully when you choosing your development path, In Example, consider how much it will cost to QA your game in cross platform situation vs. just in windows…

这篇关于现在不支持Xna,还有什么更好的选择?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆