
In This series we are going to create a fully functional Multiplayer Platformer game using latest unity 2018.2 and latest photon 2 (2019 ) sdk.
Brief Trailer of Project That we are going to build in this Course.
Import the Photon PUN 2 SDK from the Unity Asset Store, import into assets, paste the app id from the console into setup, and set server settings and logging to full.
Build a two-screen lobby system in Unity using Photon PUN 2, enabling nickname setup before connecting to master, joining a lobby, and creating or joining rooms.
Set up a gambling scene in Unity by importing graphics, adding a background and floor collider, and configuring a cowboy character with idle, run, shoot, and jump animations.
This video explains that Unity 2018.3 removes prefab hierarchy, so you cannot access nested elements; you can drag references like color, light, and camera from the player in the hierarchy.
Learn to create a networked player with Photon PUN 2 in Unity, enabling the local camera, processing keyboard movement, and flipping the sprite for left and right based on input.
Learn to sync sprite flips across the network with photon pun 2 by creating remote procedure calls to flip the sprite right and left via a photon view.
Synchronize player animations across the network with Photon PUN 2 by observing the animator and using discrete synchronization, then display each nickname above avatars.
Implement a revive flow that respawns players at random positions and resets health to full, updating the health bar across all players in a Unity multiplayer environment.
Create a toggleable leave room UI for a Unity multiplayer game with Photon PUN 2, triggered by escape or back, that leaves the room and returns to the main menu.
Build a multiplayer chat in Photon PUN 2 by adding an input field and speech bubble, sending messages with RPC, and syncing bubble visibility via the serialize view.
Fix the timeout script to run locally on its own game object without PhotonView.isMine checks, since this timeout operates offline and requires no network ownership.
Implement a dynamic kill feed in Unity multiplayer with Photon PUN 2, showing 'you got killed by' and 'you killed' messages in a UI feed box with color cues.
Fix camera movement by replacing the follow script, adjusting the camera offset (x 1.3, y 1.53), and assigning the player as the target for proper tracking.
Define a camera boundary for the player camera and clamp its position with min and max x and y values to keep view within the edge using camera follow 2D.
Display online users by creating a dynamic UI list that shows connected players in a Photon PUN 2 Unity game, updating via RPC and tab-key visibility.
Demonstrate displaying online users in a Photon PUN 2 multiplayer room by listing active players, updating the UI when players join or leave, and handling disconnections.
Display online players by updating a player list across all clients via the game manager and rpc calls, so every instance shows all connected names in the canvas user interface.
Implement mobile inputs by creating a mobile inputs canvas, scaling for screen size, and placing left, forward, backward, jump, and fire buttons for Android and Iris devices.
Explore implementing mobile inputs for Unity multiplayer gameplay by triggering animations, flipping sprites, and syncing movement for left and right directions, with jump and shoot controls via event triggers.
Opening the project in 2019.1.0
Learn to create and assign Teams to player.
Show a win screen and a lose screen when a player wins or dies by toggling canvases and disabling the respawn system in the game manager.
Learn how to create video games using Unity, the world-leading free-to-use game development tool. We start super simple, so you need no prior experience with Multiplayer Coding and Concepts. This course will guide you step by step, making complex ideas easy to understand.
This course is designed for beginners who have a basic understanding of Unity and are eager to learn Multiplayer GAME Development using Photon 2 (PUN 2).
In this course, we will start learning by creating a fully functional Multiplayer 2D Platformer Game where up to eight users can play with each other in a single room. We can create as many rooms as we want, allowing for unlimited gameplay. Additionally, we will add Mobile Controls, so the game can be played seamlessly on any mobile device.
The game will have the following functionalities:
Creating Lobby and Rooms
Creating Teams
Player Movement Sync
Jumping and Rotation Sync
Firing Bullets and Syncing
Death and Respawn on Network
Photon Features like Transform Sync and Rigidbody Sync
RPC Remote Procedure Calls
Raise Events on Network
Player Feeds on Network
Displaying Online Users
Chatting System
Animation Syncing Over the Network
Player Health System
Mobile Controls (Android and iOS)
Optimizing Performance for Smooth Multiplayer Experience
And much more...