====== Lab 8: Let's Network ====== {{:public:t-vien-15-3:lab8-networking.png?700|}} ===== Goal ===== The goal of this lab is to get an introduction to building multi-player environments in Unity. The basic requirement for such an environment is a network connection over which the state of shared objects is synchronized (e.g. you move an object in one client and it moves in all clients!). Luckily, Unity has recently revamped their networking support (since version 5) by providing super powerful high-level networking components. In this lab you get to assemble a couple of those components to make a fully working client/server structure. ===== Documentation ===== You can start by browsing the [[http://docs.unity3d.com/Manual/UNet.html|Unity Manual: Multiplayer and Networking]] documentation. ===== Procedure ===== Unlike previous labs, this one will rely on a networking tutorial provided by someone else. [[http://www.gamasutra.com/blogs/author/ChristianArellano/1000200/|Christian Arellano]] has done an excellent job of putting together a Unity 5 Networking Tutorial in three parts on [[http://www.gamasutra.com/|Gamasutra]] (which, by the way, is an excellent resource for game developers). For Lab 8, you only need to complete part 1: * [[http://www.gamasutra.com/blogs/ChristianArellano/20150922/254218/UNET_Unity_5_Networking_Tutorial_Part_1_of_3__Introducing_the_HLAPI.php|UNET Unity 5 Networking Tutorial Part 1 of 3 - Introducing the HLAPI]] Everything you need is provided in the tutorial itself. If you are interested in the topic of networking, you can always move on to Part 2 of 3 as well (but Part 3 has not been published yet).