Unity Multiplayer: Intermediate C# Coding & Networking
Create online multiplayer games in Unity using Mirror. Tutorials cover client-server model, LAN, using Steam, and more.
Watch Promo
Learn how to create online multiplayer games in the Unity game engine using Mirror.
In this course we build a multiplayer Real Time Strategy (RTS) game that you can play online through the Steam API against your friends. You'll learn fundamental multiplayer development principles such as synching variables, remote procedure calls (RPCs) and writing server authoritative logic in a way that can be applied to your own indie multiplayer games.
This is not a course for absolute beginners. You'll need a basic grasp of Unity and C# before you get started so that you're ready for the more advanced concepts we'll be using such as events, interfaces, and inheritance.
By the end of this course you will be able to...
- Make your own online multiplayer games using Unity and Mirror.
- Create a working RTS game designed for 2 to 4 players (but with no upper limit on players!).
- Learn the client-server model of making online multiplayer games.
- Use the Steam API to play your game against your friends online.
- Practice fundamental multiplayer principles such as synching variables, remote procedure calls (RPCs) and writing server authoritative logic.
- Implement intermediate C# coding techniques such as events, inheritance and interfaces.
- Create a gameplay lobby to help with matchmaking.
- Implement a range of cool RTS gameplay features such as multi-select, unit spawning, RTS combat, nav mesh movement, mini-map, and more.
All students have access to the Q&A forums where our Instructors, Teaching Assistants and Community are ready to help answer your questions and cheer on your success.
Your Instructor
Nathan has been making and modding games for as long as he can remember. He started to get serious about coding when he was 15 and quite quickly stumbled across Unity and has been deep within the engine ever since.
He really enjoys building systems, gameplay mechanics, and has spent a lot of time experimenting with multiplayer networking.
Online he goes by the name of Dapper Dino and has been growing his YouTube channel since 2018, mostly teaching people the more intermediate topics so that they can use Unity to make the game of their dreams!
He's also part of the Unity Insiders program which gives him access to the latest and greatest information as well as amazing connections with Unity developers and content creators. He's excited to share all this great knowledge with you!
Course Curriculum (11+ hours)
-
StartWelcome To The Course (1:45)
-
StartImporting Mirror (9:25)
-
StartClient-Server Model (9:58)
-
StartNetwork Manager (21:02)
-
StartSyncing Variables (16:40)
-
StartSyncVar Callbacks (10:59)
-
StartRemote Actions (15:07)
-
StartServer Authority (9:38)
-
StartNetwork Transform (11:19)
-
StartMoving Our Player (17:28)
-
StartUseful Resources
-
StartSection Intro - RTS (2:16)
-
StartProject Setup (5:21)
-
StartOur First Unit (11:43)
-
StartUnit Movement (14:40)
-
StartSpawning Units (20:03)
-
StartSelecting A Unit (17:25)
-
StartCommanding Units (8:37)
-
StartStoring Our Units (16:54)
-
StartSelecting Multiple Units (21:45)
-
StartImproving Selection & Movement (11:15)
-
StartUnit Targeting (17:15)
-
StartUnit Chasing (9:33)
-
StartUnit Firing (20:50)
-
StartDealing Damage (13:56)
-
StartHealth UI (15:25)
-
StartDestroying Units & Buildings (15:04)
-
StartUnit Base Building (14:59)
-
StartWinning The Game (15:57)
-
StartGame Over (13:32)
-
StartBuildings Setup (11:57)
-
StartMaking Buildings (17:32)
-
StartPlacing Buildings (20:36)
-
StartSpawning Buildings (10:55)
-
StartResource Generation (19:03)
-
StartUnit Spawn Queues (20:46)
-
StartBuilding Limits (14:07)
-
StartTeam Colors (11:13)
-
StartCamera Movement (18:22)
-
StartMinimap (13:42)
-
StartMinimap Movement (15:05)
-
StartAdding Polish (9:04)
-
StartAdding More Units (18:52)
-
StartLobby UI (14:18)
-
StartCreating A Lobby (13:50)
-
StartStarting The Game (16:42)
-
StartDisplaying Lobby Info (13:44)
-
StartUsing The Steam Transport (16:40)
-
StartCourse Wrap Up (0:59)
-
StartMore To Come