Difference between revisions of "Lidgren.Network"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Helpful Links)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
One skill which could improve your overall project complexity is using networking and multiplayer features. I will therefore just provide the information to use and not give specific examples and tutorials. Lidgren.Network is one method of introducing networking into your game.
 
One skill which could improve your overall project complexity is using networking and multiplayer features. I will therefore just provide the information to use and not give specific examples and tutorials. Lidgren.Network is one method of introducing networking into your game.
 +
 +
=Installation=
 +
The easiest way to install Lidgren.Network is to create a new MonoGame project. Make sure your project is targeting the .NET 4.6 Framework. To check this double click "Properties" in the Solution Explorer. Then on the Application tab change the Target Framework drop down to 4.6.
 +
 +
Then in the Tools tab, choose NuGet Package Manager. Then choose Manage NuGet Packages for Solution.
 +
 +
Click on browse, and then type Lidgren.Network into the search box. This should find the latest version (currently 1.0.2), click install. Finally in your Game1.cs, add the code below to the using section:
 +
 +
<syntaxhighlight lang=c#>
 +
using Lidgren.Network;
 +
</syntaxhighlight>
  
 
=Source Code=
 
=Source Code=
 
You can download the source code from this link:
 
You can download the source code from this link:
 
[https://github.com/lidgren/lidgren-network-gen3 GitHub Code]
 
[https://github.com/lidgren/lidgren-network-gen3 GitHub Code]
 
  
 
=Helpful Links=
 
=Helpful Links=
Line 13: Line 23:
 
https://code.google.com/archive/p/lidgren-network-gen3/
 
https://code.google.com/archive/p/lidgren-network-gen3/
  
=Tutorials=
 
==General==
 
 
http://genericgamedev.com/tutorials/lidgren-network-an-introduction-to-networking-in-csharp-games/
 
http://genericgamedev.com/tutorials/lidgren-network-an-introduction-to-networking-in-csharp-games/
  
 
http://genericgamedev.com/tutorials/lidgren-network-explaining-netdeliverymethod-and-sequence-channels/
 
http://genericgamedev.com/tutorials/lidgren-network-explaining-netdeliverymethod-and-sequence-channels/
  
 +
=Tutorials=
 
==Full Game==
 
==Full Game==
 
This tutorial series uses:
 
This tutorial series uses:

Latest revision as of 12:49, 26 July 2018

One skill which could improve your overall project complexity is using networking and multiplayer features. I will therefore just provide the information to use and not give specific examples and tutorials. Lidgren.Network is one method of introducing networking into your game.

Installation

The easiest way to install Lidgren.Network is to create a new MonoGame project. Make sure your project is targeting the .NET 4.6 Framework. To check this double click "Properties" in the Solution Explorer. Then on the Application tab change the Target Framework drop down to 4.6.

Then in the Tools tab, choose NuGet Package Manager. Then choose Manage NuGet Packages for Solution.

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

using Lidgren.Network;

Source Code

You can download the source code from this link: GitHub Code

Helpful Links

https://github.com/JonDouglas/MonoGame-Tutorials/tree/master/BasicLidgrenServer

https://github.com/JonDouglas/MonoGame-Tutorials/tree/master/BasicLidgrenClient

https://code.google.com/archive/p/lidgren-network-gen3/

http://genericgamedev.com/tutorials/lidgren-network-an-introduction-to-networking-in-csharp-games/

http://genericgamedev.com/tutorials/lidgren-network-explaining-netdeliverymethod-and-sequence-channels/

Tutorials

Full Game

This tutorial series uses: https://code.google.com/archive/p/multiplayer-example/

Tutorial Series:

https://dirkkok.wordpress.com/2012/02/20/lets-make-a-multiplayer-game-part-1/

https://dirkkok.wordpress.com/2012/02/20/lets-make-a-multiplayer-game-part-2/

https://dirkkok.wordpress.com/2012/02/20/lets-make-a-multiplayer-game-part-3/

https://dirkkok.wordpress.com/2012/02/20/lets-make-a-multiplayer-game-part-4/

https://dirkkok.wordpress.com/2012/02/20/lets-make-a-multiplayer-game-part-5/

https://dirkkok.wordpress.com/2012/02/20/lets-make-a-multiplayer-game-part-6/

https://dirkkok.wordpress.com/2012/02/20/lets-make-a-multiplayer-game-part-7/

https://dirkkok.wordpress.com/2012/02/20/lets-make-a-multiplayer-game-part-8/

https://dirkkok.wordpress.com/2012/02/20/lets-make-a-multiplayer-game-part-9/