C++ directx 是什么版本?
我开始开始接触一些游戏编程,我有一些 C++/Directx 9 和 10 的学习材料,我想知道我应该首先学习/使用哪一个。 我在某处读到Windows XP没有directx 10,所以如果我想支持XP,我必须使用9?或者它向后兼容?
Possible Duplicate:
DirectX 9 or DirectX 10 for starters ??
I'm started to get into a little game programming and I have some learning materials for C++/Directx 9 and 10, and im wondering which I should learn first/use.
I read somewhere windows XP doesn't have directx 10, so if i wanted to support XP, id have to use 9? Or is it backwards compatible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Windows XP 不支持 DirectX 10,因此为了在此类系统上运行,需要 DirectX 9 或更早版本的引擎。但是,除非您在 Windows XP 系统上进行开发,否则您不必担心这一点并使用更简单的版本。
IMO DirectX 10 是更好的工作平台,因此您现在应该使用它来学习。
无论哪种情况,我都建议跳过低级编程部分并使用诸如 XNA 之类的环境或者Unity(如果您对 3D 开发感兴趣)。另一种选择是 Silverlight 能够在线托管它(也可以使用 Flash,但这不是免费的) 。网上还有无数付费和免费的游戏开发平台。
我认为我与众不同,可以用我的第一款游戏来管理引擎,五年后一千多个小时后,我什至从未设法获得任何可以远程定义为游戏的东西。 (尽管在我看来,我花了很多时间在随机任务上,例如可扩展引擎设计(3 或 4 个不同的引擎)和 GPU 上的程序渲染)
DirectX 10 is not supported on Windows XP so in order to run on such systems a DirectX 9 or earlier engine is required. However unless you are developing on a Windows XP system you should not worry about this and use the easier version.
IMO DirectX 10 is the better platform to work with, so you should use that to learn for now.
In either case I would recommend skipping the low level programming portion and using an environment such as XNA or Unity if you are interested in 3D development. Another option would be Silverlight to be able to host it online (Flash also but that isn't free). There are also a myriad of paid and free many game development platforms available online.
I thought I was different and could manage an engine with my first game, half a decade and well over a thousand hours later, and I never even managed to get anything that could be remotely defined as a game. (Although in my defense I spent a lot of time on random tasks such as extensible engine design (3 or 4 different ones) and procedural rendering on the GPU)