[UWP]如何为UWP创建Direct2D项目? [英] [UWP]How does one create a Direct2D Project for the UWP?

查看:55
本文介绍了[UWP]如何为UWP创建Direct2D项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


您好。我是DirectX新手的年轻开发人员。我有计划为UWP创建独特的2D游戏。但是我不确定最好的方法。


Visual Studio附带的默认DirectX模板是为3D游戏设计和优化的。我应该使用它来绘制2D图形,还是创建和使用仅针对2D图形优化的模板?如果是这样,我该怎么做
呢?我还没有在网上找到任何帮助。至少不适用于DirectX和UWP。


感谢您提供的任何帮助!

解决方案

结帐win2d 


http://microsoft.github .io / Win2D / html / Introduction.htm


https://github.com /微软/ Win2D


Hello. I'm a young developer new to DirectX. I've had plans to create unique 2D games for the UWP. But I'm unsure on the best way to go about it.

The default DirectX template that came with Visual Studio is designed and optimized for 3D games. Should I go about using it to instead draw 2D graphics, or instead create and use a template optimized for 2D graphics only? If so, is how should I do it? I haven't found any help online as of yet. At least not for DirectX and the UWP.

Thank you for any help I can get!

解决方案

Checkout win2d  

http://microsoft.github.io/Win2D/html/Introduction.htm

https://github.com/Microsoft/Win2D


这篇关于[UWP]如何为UWP创建Direct2D项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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