
Create a new 3D Unity project, import the free sci-fi soldier, joystick, and multiplayer assets, and configure Photon with your app ID to enable mobile third-person multiplayer gameplay.
setting up environment for character to move around using 3d prototyping assets.
Bringing character in the scene and adding required components.
Download the resources "completeProject (Lecture01 to 07)" which is .UnityPackage.
If you want Resouces in Folders Form without .UnityPackage the download "Assets start to lecture 7"
Start coding our player movement and rotation.
continue working on player movement.
Explaining the difference between local and world space in detail.
Smoothing the player movements
Working on camera rotation in 3d space and movement.
Smooth the camera rotation and clamping rotation.
Moving and rotating player along with camera rotation.
Enable mobile play by wiring a joystick to drive player movement and rotation. Toggle between PC and mobile inputs and map joystick axes to movement with touch controls.
Learn to implement player animations and controllers in Unity third-person shooter. Drive idle, walk, and run via animator parameters, manage weapon arsenals at runtime, and use interface inputs for actions.
Develop shooting mechanics and responsive run-to-idle animations by wiring input-driven movement, firing with raycast from the gun, camera-aligned aim, and adjustable weapon range.
seee the pdf to add shoot button
Improve the crosshair by rendering it with a separate camera and grass layer, maintaining a fixed distance, and smoothing its position with smooth damp toward the target direction.
Improve crosshair stability by aligning its position to camera updates and simplifying its late update logic, and enhance jumping with a fall multiplier and consistent velocity reset.
Improve firing logic and implement continuous, realistic sounds by switching to a fire boolean, adjusting animation speed, and adding looping shoot and run sounds with proper audio control.
Add a muzzle flash to the sci fi rifle by importing a free particle effect from the asset store, and trigger its particle system when firing.
Convert the plate to a prefab with private references, load joystick and crosshair from resources, and reparent the main camera to test the setup.
Configure the lobby scene for a Unity mobile multiplayer game: implement scene camera, player instantiation, and a lobby UI with create and join controls, inputs, and random matchmaking.
Join or create multiplayer rooms in a lobby using a play now button, connect to the Photon server, and manage UI states during lobby join and room creation.
Set up the player for multiplayer by adding photon view, photon transform view, and photon animated components to synchronize position, rotation, and animations, while gating camera for local player.
compare photon transform view versus transform view classic to improve synchronization, enable synchronized position and rotation, set teleport distance, and tune photon send rate and serialization rate to reduce lag.
Create a Unity health bar UI with a horizontal fill image and a get damage method; ensure the player's health bar updates only on their screen using is mine checks.
Implement and update the local player's health in a Unity mobile multiplayer shooter by adjusting the health bar fill, enabling the local health UI, and applying damage.
Implement a steering wheel and forward and backward buttons to control a car in a Unity multiplayer third-person shooter, including braking, doors, and asset integration with a simple input system.
In this lecture, learn to add get-in and get-out functionality for a player near the god object, using a proximity radius, a canvas button, and camera/parenting changes.
Test your game by ensuring the camera follows the correct player, fix tag and name checks to exclude the God object, and confirm the camera rotates around the local player.
Debugs a god interaction in a Unity multiplayer setup, ensuring the god appears only for the local player by on trigger enter/exit tag checks and syncing isFree via photon RPC.
Debug car manager in a Unity mobile multiplayer third-person shooting game by fixing callbacks, handling room creation, region settings, and responsive UI scaling.
Car manager 09 outlines debugging god functionality, fixes crosshair behavior in car use, and manages audio and health bar states, preparing for events, pickups, and judging systems.
Create a chat UI for a Unity mobile multiplayer third person shooter, using an event-based system to send messages to all players or teammates with Photon custom properties.
Implement a chat system in a Unity multiplayer setup by wiring a message handler, sending and receiving chat events, and updating the chat UI across all players.
Implement reliable broadcasting in a Unity mobile multiplayer chat system using RBC, on view, and view IDs to deliver messages to specific players via target actors.
Learn to use custom properties to create two teams and synchronize team data across network with a hash table and set and read custom properties for local and other players.
Learn to display team numbers using custom properties in a Unity Photon multiplayer setup, wiring UI text to reflect each player's team and handle ownership with mine checks.
Enhance the lobby in a Unity mobile multiplayer third person shooting game by implementing ready and start buttons, master plan coordination, and event-driven updates across all instances.
Enhance the lobby in a Unity mobile multiplayer game by syncing scenes when all players are ready and instantiating and displaying players in the lobby UI.
Enhance the lobby in the Unity mobile multiplayer third person shooting game by adding joined players with nicknames and preventing duplicates to keep all instances with the same player list.
Profile and resolve lag by examining the God script’s resource use, disable or rework it, and optimize updates and crosshair smoothing while handling canvases for multiplayer play.
Demonstrates spectate after death by implementing a new UI, instantiating spectate objects, and wiring buttons to target players so the camera smoothly follows that player.
showing the win Screen to player who has won the game and let other players know who won the game.
Master Multiplayer Third-Person Shooter Game Development for Mobile with Unity & Photon 2
This course will thoroughly guide you through the development of a Multiplayer Third-Person Shooter game for mobile devices using Unity and Photon Unity Networking 2 (PUN2).
Designed for beginners, this course requires a basic yet essential understanding of Unity and C#, but no prior experience in multiplayer programming is needed. We'll cover all multiplayer concepts from scratch, ensuring you gain a solid and practical foundation in networked game development.
By the end of this course, you’ll be able to:
Build any type of multiplayer game
Implement multiplayer functionality seamlessly in your existing games
What You'll Learn:
Character & Camera Controls
Third-person movement & animations
Shooting & jumping mechanics
Smooth camera movement
Vehicle Systems & Mobile Controls
Adding a car & implementing mobile-friendly controls
Car entry & exit system
Photon Networking Essentials
Lobby & match-making system
Room creation & joining mechanics
Remote Procedure Calls (RPCs) & event handling
Player movement & animation synchronization
Health system & team creation
Advanced Multiplayer Features
Chat system
Spectator mode
Raising & handling network events
...and much more!
If you have any questions, feel free to reach out. Also, check out my YouTube channel "FastSolution" for more detailed game development tutorials!
See you in the course!