简体   繁体   English

C#网络游戏编程

[英]C# Network Game Programming

有哪些很好的资源可用于学习如何对使用网络C#(例如游戏)的应用程序进行编程?

For game programming I think you should go with XNA , there are tones of article in internet about it and networking, you can see SO question for starting XNA: Which book should read to start XNA 对于游戏编程,我认为您应该使用XNA ,互联网上有很多关于它和网络的文章,您可以看到启动XNA的问题: 应该阅读哪本书来启动XNA。

Edit: But, for network programming, see my question in SO people tried to answer my question provided really good samples (also my question contain it). 编辑:但是,对于网络编程,请参阅SO中的问题人们提供了非常好的样本试图回答我的问题(也包含我的问题)。

For games I would surely recommend reading the Networking for Game Programmers series by Glenn Fiedler - the code is in C++ though, but great general knowledge. 对于游戏,我肯定会建议阅读Glenn Fiedler撰写的“ 网络游戏程序员”系列-尽管代码是C ++,但具有丰富的常识。 As for C#, I would recommend going through the Networking section of the App Hub Education Catalog 至于C#,我建议您仔细阅读App Hub教育目录的“ 网络”部分

UPDATE UPDATE

I almost forgot the Shawn Hargreaves's Blog. 我差点忘了肖恩·哈格里夫斯(Shawn Hargreaves)的博客。 The following Blog Index organizes each of his posts by category. 以下博客索引按类别组织了他的每个帖子。 Scroll down till you get to the Networking Category. 向下滚动,直到找到“网络类别”。

For example: 例如:

@Marcel: I've looked at Codeproject and codeguru. @Marcel:我看过Codeproject和Codeguru。 I came up empty as far as a doable solution. 我提出了一个可行的解决方案。 I'll look at programmer's heaven? 我会看程序员的天堂吗?

@Saeed: Would it be difficult to convert an existing C# Forms application to XNA? @Saeed:将现有的C#Forms应用程序转换为XNA会很困难吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM