Setup LiteNetLib

From TRCCompSci - AQA Computer Science
Revision as of 10:39, 23 May 2019 by Admin (talk | contribs) (Created page with "Networking in games is a very complex skill, and will make a complex project. So this page will try to give you information which you can use to create your own example. =Inst...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Networking in games is a very complex skill, and will make a complex project. So this page will try to give you information which you can use to create your own example.

Installation

The easiest way to install LiteNetLib is to create a new MonoGame project. Then in the Tools tab, choose NuGet Package Manager. Then choose Manage NuGet Packages for Solution.

Click on browse, and then type LiteNetLib into the search box. This should find the latest version (currently 0.7.7.2), click install. Finally in your Game1.cs, add the code below to the using section:

using LiteNetLib;

Source Code

https://github.com/RevenantX/LiteNetLib