简体   繁体   English

XNA-如何“安装” Lidgren?

[英]XNA - How to “install” Lidgren?

How do I use Lidgren.Network ? 我如何使用Lidgren.Network I mean, "install" it so I can use it in my project? 我的意思是说,“安装”它以便可以在我的项目中使用它? Because I would love to get started with simple multiplayer games, but I can't find any good tutorials online, but I've heard that Lidgren.Network is good :D 因为我很想开始简单的多人游戏,但是我在网上找不到任何好的教程,但是我听说Lidgren.Network很好:D

I tried to just drag the Lidgren.Network into the project, but I couldn't use it that way, I guess it was a really bad idea.. 我试图将Lidgren.Network拖到项目中,但是我不能那样使用,我想这是一个非常糟糕的主意。

And also, if I make a game using Lidgren.Network for networking, will I be able to sell it? 而且,如果我使用Lidgren.Network进行网络游戏,是否可以出售? And if not, will I be able to upload it at all? 如果没有,我完全可以上传吗?

You need to add the Lidgren.dll as a reference to your project. 您需要添加Lidgren.dll作为对项目的引用。 Take a look at the picture below (Made in VS 2012, but same for any other editions) 看看下面的图片(VS 2012中制作,但其他版本相同)

http://img692.imageshack.us/img692/9701/nbub.png

Hit browse and find your Lidgren dll. 点击浏览,找到您的Lidgren dll。

This is not the place for legal advice, so don't tank us in the place of a lawyer, but as you can see on the homepage , it is under a MIT license. 这里不是提供法律咨询的地方,所以不要让我们代替律师,但正如您在主页上看到的那样,它是在MIT许可下的。

... including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software... ...包括但不限于使用,复制,修改,合并,发布,分发,再许可和/或出售本软件副本的权利...

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

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