Server Authoritative Movement, Network Variables || Netcode For GameObjects #2
Freedom Coding Freedom Coding
3.31K subscribers
3,094 views
75

 Published On Mar 4, 2024

In the last tutorial about Netcode for GameObjects, I set up the network manager and added syncing for the player position and animation. This time, I will cover what are server and client RPCs and network variables, which I will use to keep the player score. I will also teach you how to spawn enemies on the server and how to make server-authoritative player movement to protect your game from cheaters!

Start Project Files - https://github.com/Freedom-Coding/Net...

👍 Like and 🔔Subscribe for More Unity and C# Tutorials    / @freedomcoding  

🌟 Support My Work and Unlock Exclusive Content! 🌟
👉 Patreon:   / freedomcoding  

🎮 Join Our Developer Community!
💬 Discord:   / discord  

💖 Support Me Financially
☕ PayPal: [email protected]

Are you looking for a Unity/C# tutor? Contact me here - [email protected]
Website - https://www.freedom-coding.com

Timestamps:
00:00 What You Will Learn
00:19 Spawning Enemies On The Server
02:54 Make Enemies Follow The Closest Player
07:05 Server And Client RPC
10:28 Network Variables - Player Score
12:21 Server Authoritative Player Movement
14:11 Conclusion

show more

Share/Embed