
Build your first Unity multiplayer game using C# and Photon, guiding loading screens, lobby, and cross-machine play with synced animations, visuals, and scripts in the same world, Golden Ray.
Join the courses Discord server to get help and share your multiplayer game development work with the community, and connect with others to test and iterate your ideas.
Learn to set up a Photon Pan two multiplayer server in Unity, import the Pan two package, connect using a loading scene, and load the main menu.
Create and join two-player rooms using photon in unity. Configure room options for max two players, and load the game scene with PhotonNetwork.LoadLevel when joining or creating a room.
Spawn players across the network by turning the player into a prefab in the resources folder, adding a photon view, and using photon network instantiate at a random position.
Create a simple Unity player controller that reads arrow input, normalizes movement, and applies delta time, then enable multiplayer synchronization with Photon View and Photon Transform View.
Create and wire an animator controller with idle and run animations, use the is running parameter to control transitions, and synchronize these animations for multiplayer using the animator view component.
Spawn and control multiplayer enemies by selecting the nearest player, moving toward them, and spawning enemy prefabs at random spawn points using photon networking on the master client.
Learn to implement a multiplayer health system in Unity using rpc functions to synchronize health values and the health user interface across all players with Photon view and rpc calls.
Build a golden ray between players with a line renderer, updating its endpoints to follow both players, and use a 2D edge collider trigger to destroy enemies over the network.
Add a score system to track enemy kills and synchronize the score display across the network using Photon RPCs, with a zero-initialized UI and master client safeguards.
Implement a dash move and screen wrap in Unity, using a coroutine to boost speed briefly and wrap the player across screen edges in multiplayer gameplay.
Implement a networked game over screen in Unity, display the final score, show the restart control only to the master client, and use RPC to restart across players.
Enhance a multiplayer game by adding blood particle effects and synchronized spawning via photon RPC or standard instantiate, then attach an audio source for blood sounds and a background soundtrack.
Add nickname input for each player character and update the photon network nickname on value change. Display each player's nickname above their character using a world space canvas.
complete the beginner guide to multiplayer game creation in Unity by building a small original project, share on Discord, and test with playtesters to gain momentum and confidence.
In this game development course you'll learn how to create multiplayer games using Unity, C# and Photon 2.
Here is a list of the key things you will learn by watching this course :
First of all, you'll have a stronger understanding of what it takes to actually finish a game from A to Z in Unity!
Learn the differences between singleplayer and multiplayer game development.
Discover how to make a multiplayer loading screen and lobby.
Create simple scripts for multiplayer games using the C# programming language.
Learn to sync over the network scripts, visuals, animations and more with components and RPC functions.
Make a top down player controller. Code a stylish dash move and a screen wrap!
Bring a simple enemy AI to life! They will chase the nearest player and reduce the team's health.
Make a flexible spawning system to challenge the players with hordes of enemies.
Add a nickname to your player character via a main menu.
Juice up your multiplayer world with particles and sounds.
Create a score system to keep track of player performance.
Why learn from us?
My brother and I created this course to share our passion for making games and help others bring their unique visions to life!
We've been teaching aspiring game developers how to use Unity, code with the C# programming language, and make game art and animations. Our tutorials have been viewed by thousands and are very popular, every day we get dozens of developers thanking us for helping them out on their own game dev journey!
We've not only made tons of tutorials but we've also created plenty of games using Unity, both 2D, and 3D!
So we know what it's like to create a complete, polished experience from A to Z, and really want to equip you with the right tools and knowledge so you can do the same!