Making multiplayer games is hard. What is even harder is to make sure that the players in your game cannot cheat but also don't have to be constantly waiting for the data from the server. Here client prediction and reconciliation come into play. With it, movement (or any action) of the users is client-authoritative, so the players don't experience any latency. The server is also receiving data about the player positions, so it can correct it if any suspicious changes in the position occur.
Project Files - https://github.com/Freedom-Coding/Cli...
👍 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, Revolut: marek.freedom.coding@gmail.com
Are you looking for a Unity/C# tutor? Contact me here - marek.freedom.coding@gmail.com
Website - https://www.freedom-coding.com
Timestamps:
00:00 Server Authoritative VS Client Prediction
01:05 Project Overview
01:30 Storing Player States
05:04 Testing
06:03 Simulating Movement On Server
08:49 Testing
09:27 Reconciliation
11:48 Final Result
13:23 Conclusion
Nesta página do site você pode assistir ao vídeo on-line Simple Client Prediction & Reconciliation || Unity Netcode Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Freedom Coding 27 Maio 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 5,816 vezes e gostou 162 espectadores. Boa visualização!