C# 2D 图形库(请不要使用 XNA)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15461584/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Graphic Libraries for 2D (No XNA please)
提问by Leo
Since Microsoft are dropping XNA (and yes, I know that one can still use it quite successfully, but the fact it's not being developed after only a short period of existence speaks volumes). What are the best C# graphic libraries for simple 2D development (akin to Allegro, SFML, SDL and the likes)? By the best I mean those under active development, with an active community, and hopefully with some decent tutorials.
由于微软正在放弃 XNA(是的,我知道人们仍然可以非常成功地使用它,但它在短短的存在时间内就没有被开发出来这一事实说明了一切)。什么是用于简单 2D 开发的最佳 C# 图形库(类似于 Allegro、SFML、SDL 等)?最好的我指的是那些正在积极开发、拥有活跃社区并希望有一些不错的教程的人。
I tried searching for an answer but, one way or another, it's XNA that always comes up (maybe for a reason...)
我尝试寻找答案,但是,无论如何,总是出现 XNA(也许是出于某种原因......)
Thank you!
谢谢!
回答by Mike
Frameworks I like:
我喜欢的框架:
For the libraries you have listed there is a wrapper for SDL SDL.NET
对于您列出的库,有一个 SDL SDL.NET包装器
Re-adding content that was removed in a review (WHY? The answer is not XNA, but Open Source implementation of XNA)
重新添加在评论中删除的内容(为什么?答案不是 XNA,而是 XNA 的开源实现)
Also if you are familiar with XNA you can use MonoGame- implementation of XNA under active development. Playstation Mobile and Raspberry PI support is under development.
此外,如果您熟悉 XNA,您可以使用MonoGame- XNA 正在积极开发中的实现。Playstation Mobile 和 Raspberry PI 支持正在开发中。