Learn Socket to Create Multiplayer Games with Unity
4.0 (30 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
265 students enrolled

Learn Socket to Create Multiplayer Games with Unity

Learn to use C# Socket library to create a 3D multi-player game.
4.0 (30 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
265 students enrolled
Created by Çağrı Şahin
Last updated 2/2020
English
English [Auto-generated]
Current price: $129.99 Original price: $199.99 Discount: 35% off
1 day left at this price!
30-Day Money-Back Guarantee
This course includes
  • 13.5 hours on-demand video
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Developing own game server from scratch
  • Serializing data structures and preparing for transfer over the network
  • How data transfering between clients and server
  • C# threading
  • Reading and deserializing data from network
  • Learn game server architecture design
Course content
Expand all 79 lectures 13:38:31
+ Simple Chat Application
3 lectures 28:05
Synchronous Chat Client
07:37
ASynchronous Chat Server-Client
08:53
+ Introduction to the Server-Side
9 lectures 01:02:48
Server Class Entrance
06:35
Message Class Entrance
06:51
BaseController
05:21

Hello guys, you should change the name of Init function to the OnInit()

Controller Manager
09:19
A Function for Sending Response To The Client
04:23
007-Changing The Read Message Function For Encrypted Data
07:22
PackData(Encrypt The Data)
07:04
Connecting Mysql Database
07:58
+ Introduction to the Unity-Side
17 lectures 02:16:45

You need to import the package from the given link in the resources.

Unity Entrance
16:13
Message Class For the Client-Side
03:18
Creating a Function to Send Request to the Server
05:58
Receiving the Data
08:15
Accessing GameFacade Class from manager classes
04:47
Creating a dictionary for RequestCode and Request Classes-1
16:09
Creating a dictionary for RequestCode and Request Classes-2
05:12
Creating an Animation for the Camera
12:29
Login Button
03:19
Creating Login,Register and Message panel
13:19
Adding Path for each panel
06:20
Adding some features into the MessagePanel Class-1
10:20
Adding some features into the MessagePanel Class-2
07:30
Pushing The LoginPanel
10:50
Close Button
03:42
Creating Tables in Mysql
03:48
+ First Communication Between the Unity and Server
11 lectures 01:46:32
Showing an Error Message for the Wrong Password
09:47
Making changes for a future error
07:23
First Login Request
11:09
Reading the Login Request Coming From Unity on the Server
15:07
Reading the Login Request Coming From Unity on the Server-2
06:47
Reading the Login Response Coming From Server on the Unity
06:19
Fixing Some Errors
09:08
Login Succesfull
06:11
Pushing The RegisterPanel
09:42
Sending the Register Request
07:02
Registration Succeed
17:57
+ Introduction the Room
9 lectures 01:40:40
Designin the Room List Panel
11:55
Pushing Room List Panel
09:08
Creating animation for the Room List Panel
05:47
Animation Problems
11:35
Sending Player Result From Server
14:50
Reading Result From Client
08:07
Makes Result Appear on the BattleRes Side
06:00
Creating ScrollBar and Class for the Room Item
13:39
Designing the Room Panel
19:39
+ Requests For the Room
10 lectures 02:06:17
CreateRoom Request-1
07:30
CreateRoom Request-2
07:14
CreateRoom Request-3
14:36
Listing Room Request-1
14:24
Listing Room Request -2
18:49
Adding User ID and Moving the CreateRoomRequest()
11:39
Creating the RemoveRoom() and QuitRoom() functions
06:12
Join Room Request-1
13:07
Join Room Request-2
24:29
Join Room Request-3
08:17
+ Final
20 lectures 04:17:24
StartGame Request
15:51
Timer for Stating the Game
21:39

The player Prefab is bigger than 25 mb so I had to upload it to the Google Drive.

Adding Player Movement
09:12
Make the Player Shoot
15:24
Creating The RoleType And RoleData
15:56
Make the Camera Follow the Player
05:47
Make Camera Walk Through the Scene
14:42
Determining the Spawn Position of Players
06:29
Current Role Game Object
10:30
Enter Playing
09:49
Adding Control Script From Scratch
14:14
Move Request
09:38
Move Request-2
09:19
Move Request-3
22:44
Shoot Request
08:54
Shoot Request-2
18:34
Attack Request
08:17
Attack Request-2
11:05
Reading The GameOver From Client
18:46
Walk Through The Scene
10:34
Requirements
  • You must have installed and have basic experience with Visual Studio
  • You must have installed and have basic experience with Unity 5 or greater
  • Understanding network communications on basic level
  • Intermediate knowledge in C# programming language
  • Perseverance and desire to achieve the goal.(Most important one)
Description

Learn socket programming in C# .Net

Get proficient in computer network socket programming using TCP/IP streaming sockets and become a better professional programmer.

Perhaps you have already created some cool game and now you want your game to be multiplayer but you do not know how to do it? Creating games is hard but creating online games is even harder, especially if you do not know where to start. These days a lot of cool solutions that help achieve this or that purpose. However, I am sure that this does not suit you, either because these solutions are quite expensive or created to solve only certain tasks. Thanks to this course you will see how to program the real online games.

Due to the fact that nowadays the resources of CPU have become easily accessible to everyone, C# is perfectly suitable for creating client-server applications and for network multithreaded programming. You will see how to create a multithreaded game server for your games in C# programming language that will receive and send data to your clients in real-time using the TCP protocol that is used in real game projects.

With this course, you will see how event-driven and service-oriented applications work. Understand how to use multi-threaded programming in Unity Game Engine and you will see how to serialize and transfer data from the clients on Unity with C# programming language to the server.

At the end of this course, you will be able to create C# (Sharp) .Net software capable of sending and receiving data over TCP/IP sockets on peer to peer basis with async and await keywords. You will learn not only socket programming, but OOP as well. The course will make you a better programmer. you will have the source code of the complete production-ready event-driven service-oriented concurrent game server on C# and client for Unity Game Engine, which you can modify and freely use in your projects.


Having completed the course you will have all the skills necessary to create 3D multi-player games of your own. With the 30 day money-back guarantee you can start the course today with complete confidence.

Who this course is for:
  • For everyone who wants to learn how to develop server applications for any kind of games