Windows 上的 XNA 网络
- XNA 的内置网络功能有哪些?
- 是否可以在Windows中使用XNA的内置网络?如果可以的话,有什么限制吗?
- What are XNA's builtin network functionalities?
- Is it possible to use XNA's builtin network in windows? If so, any restrictions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用 Microsoft. Xna.Framework.Net 命名空间 类,您是 仅限 本地、子网和 Windows Live 游戏(这意味着开发者拥有创作者俱乐部会员资格,玩家拥有银牌/免费 GFWL 会员资格)。
但是,只要您不打算同时支持 Xbox 360 或 Zune(或 Windows Phone 7),您就可以简单地使用 System.Net 类(尽管查找可用的游戏将取决于您并且需要服务器组件)。
另请参阅:
If you use the Microsoft.Xna.Framework.Net namespace classes, you are restricted to local, subnet and Games for Windows Live (which means the developer having a Creator's club membership and players having a Silver/free GFWL membership).
However, as long as you're not planning on also supporting Xbox 360 or Zune (or Windows Phone 7), you can simply use the System.Net classes (though finding available games will be up to you and would require a server component).
See also:
另一种解决方案是使用外部网络框架。
几个月前我找到了利格伦。我还没看,不过看起来还不错。
也许这就是您正在寻找的。
Lidgren 项目
还有一些代码示例可供启动。
Another solution is to use an external networking framework.
I found lidgren some months ago. I didn't look at it yet, but it seems quite good.
Maybe it's what you're looking for.
Lidgren project
There are also code samples to start.