Summary
Keywords
Full Transcript
In this comprehensive tutorial, you will learn the basics of Netcode for Gameobjects to start building your multiplayer game. Download Project Files (Patrons only): https://www.patreon.com/BinaryLunar Netcode for Game Object Documentaions https://docs-multiplayer.unity3d.com/netcode/current/about/index.html (This video is Sponsored by Unity) 00:00 Intro 01:13 The demo scene setup and explanation 02:00 Player movement script 02:57 Shooting projectile and projectile movement script 03:36 Installing Netcode for GameObjects and setting up the Network Manager 04:20 Converting the player into Network Object 05:40 Creating the Network Manager UI 09:05 Installing Ingame Debug Consol to help debug the stand-alone build 10:06 Using Network Variable to display the number of connected players 16:08 Using Network Transform to Synchronize the Movement between host and clients 18:55 Using Network Animator to Synchronize the animations 20:40 Randomizing the player spawn position and fixing the rotation on spawn 23:35 Explaining the issues related to spawning and despawning game objects in a multiplayer game 27:14 The difference between Server Rpc and Client Rpc 28:07 Using ServerRpc to Spwan and Despawn projectiles over the network 37:06 Fixing the random spawn position issue 38:25 Creating the player hud and using Network Variable to show the Player's names 43:50 Assigning colors to the connected players 46:26 Testing the game with 4 related players 47:15 Outro #unitytutorial #unity3d #multiplayer #gamedev #madewithunity The Ultimate 2D & 3D Shader Graph VFX Unity Course Black Friday 80% Discount: https://www.udemy.com/course/the-ultimate-2d-3d-shader-graph-vfx-unity-course/?couponCode=008A797D623D6F0E6941 ● Discord: https://discord.com/invite/b6bXKSV ● Subscribe: https://www.youtube.com/channel/UCLWdeb3R2U_htIdI3RqT5YA?sub_confirmation=1 ● Twitter: https://twitter.com/BinaryLunar ● Facebook: https://www.facebook.com/Binary-Lunar-102590804565782/ ● Support us on Patreon: https://www.patreon.com/BinaryLunar ● Play Our Games on itch.io: https://binarylunar.itch.io/ ● Check our Assets: https://assetstore.unity.com/publishers/47136 ● The Ultimate 2D & 3D Shader Graph Course: https://www.udemy.com/course/the-ultimate-2d-3d-shader-graph-vfx-unity-course/?couponCode=008A797D623D6F0E6941
