Unity Multiplayer: Create and host dedicated game server.
Learn how to create a low-level dedicated game server using LiteNetLib and .NET Core 6. Host it on popular cloud platforms like Azure or AWS using Docker and Azure Container Instances. Develop a simple TicTacToe game client and a gameplay lobby for matchmaking. Gain knowledge on creating a reusable strongly typed networking layer for future games. Perfect for intermediate Unity users interested in multiplayer game development.
What you’ll learn
- Create a low-level dedicated game server using LiteNetLib and .net core 6.
- Host the server on Digital Ocean, Azure, AWS or any other cloud platform using Docker and Azure Container Instances.
- Create a simple TicTacToe game client that will communicate with the authoritative server.
- Create a gameplay lobby to help with matchmaking.
- Create a strongly typed networking layer that can be reused for any future game.
I will be completely honest with you.
In the past, I have been struggling for months to find good information on internet on how to create and host real dedicated game server. There is hardly any well structured information on this topic. Now that I have a decent understanding on the topic I’ve decided to share it with you. I really hope this course will help you lay the foundation on your journey in the world of online multiplayer games.
Here is what you should expect in the course:
1. In the first section we are creating very minimal setup of our client-server communication using Unity3D, .NET 6 and the networking library LiteNetLib.
2. After we are done with the proof of concept, or as a like to call it “walking-skeleton” project, we will continue by laying the foundation of a strongly typed client to server communication. We will implement packet serialization and deserialization and will make it so the logic that handles different packets is separate in different packet handlers and it will use strongly typed C# structs.
3. Once the networking layer is done, we will work on two core scenes that are essential for any multiplayer game. Login and Lobby scenes.
4. In the login scene, we will allow the players to identify themselves and register in our server. We will handle user input validation and we will give the user visual feedback in the form of loading animation.
5. In the lobby scene we will create a sorted list of the top 10 players and will show their statuses (online or offline). We will also show the current total players count on the server. In addition to that we will update the list on all clients when a new player joins or an existing one turns offline.
6. After we are done with that, we will enable the players to register in our matchmaking pool and search for opponents by pressing the “Find Opponent” button.
7. Once a match is found, we will redirect the players to the actual game scene, where they will be able to play the classic game of Tic Tac Toe.
8. We will implement beautiful animations and handle corner cases on both server and client-side.
9. After one game session is complete we will allow the players to request to play again and then of course give them the ability to accept or reject the offer.
10. And last but not least, once we are ready with the game client and server, we will deploy our server to a cloud provider and will connect to it from the client.
11. If there is interest in the course I will expand it with additional bonus sections, depending on the needs of the students.
Since this is my first course in Udemy, my presentation skills are far from perfect and I apologize for that, but I still believe that there is valuable information that you can benefit from. I really hope you enjoy it.
Are there any course requirements or prerequisites?
Basic understanding of Unity3D and .NET
A passion and desire to learn more about how to create online multiplayer game.
Who this course is for:
This course is intended for anyone that is interested on creating a custom dedicated server using low-level networking. The course itself is not for complete beginners as do not cover very basic concepts like for example: How to install software or the very basics of C# programming. But I still believe that even if you are beginner you will be able to follow up, because the course is basically a step-by-step guide.
Who this course is for:
- This course is for intermediate Unity users who want to create their own multiplayer games using low level networking solution.