
Create a new Unity project, switch to Android, and import a Unity package to integrate the STK and PlayerIO plugins for accessing the player and enabling communication.
Create a global, singleton NetworkClient script to manage server communication and route responses. Place it in its own namespace and ensure a single instance remains accessible throughout the game.
Implement an event-driven leaving flow by broadcasting a leave message to all connected players, subscribing to and unsubscribing from leave events, and deactivating the leaving player's game object.
Implement and test the disconnect functionality for multiplayer game rooms in Unity, managing connection objects and lists to handle joining, disconnecting, and event subscriptions.
Spawn cards in the Unity multiplayer scene by routing cards from devices through the player manager and event managers, enabling server communication and card relays.
Spawn three cards for each local player by instantiating card prefabs, positioning them clearly, and notifying the local player manager to distribute cards while coordinating with the server identities.
Create a dedicated player class to replace the base class and implement a tunnel based system, adding custom properties to manage each player's gameplay state.
Implement the RoundOver method to determine the round winner and broadcast a time is over message to all connected players, preparing the next round with a controlled delay.
Create pack action in the Unity multiplayer bootcamp with C#. Learn to implement pack action in a networked Unity project using C# scripting.
Create the show action to process the show button, compare two players' card values, and broadcast the winner using the essential event and game room logic.
Get hands-on with deploying Unity multiplayer builds by uploading code from your development server, configuring network endpoints, and publishing your game to players on any device.
Learn how to create your very own production ready, online multiplayer turn based card game using Unity. We'll be starting from basic multiplayer concepts and creating a production ready turn based online poker game together, which can be published into app stores like Google play store and Apple app store.
This course has been designed to be easily understandable to everyone, only thing which one needs to have is the basic knowledge of Unity and C# as we would be diving into intermediate programming concepts and of course an enthusiasm to learn to create your own online multiplayer games.
In the course we’ll create an online turn based multiplayer poker game but the networking principles and strategies you learn will be applicable to any kind of online game you wish. by the end of the course we would be creating an production ready game having implemented design principles to maintain large codebase and readability of our code.
At the end of this course you will be comfortable with :
Managing networked games of every genre.
Basic multiplayer principles guiding a complex game.
Tracking networked players and NPC.
Creating an in game chat system.
Creating a Leaderboard System.
Create Interactive UI's.
Implement design principles to large codebases.
and much more concepts...
Start learning today and let me help me contribute to your game development journey.
Who this course is for:
Students interested in learning how to make multiplayer games.
People who want to create and publish their own games.
This course is for intermediate Unity users who want to create their own multiplayer games.
Experienced Game Developers.