Full Player-Client Multiplayer Authority

Опубликовано: 04 Июль 2024
на канале: BatteryAcidDev
3,030
135

A quick review of how to setup client authority over the full player object, and not just the inputs. As a continuation off of the base Brackeys-multiplayer project, this is an easy way to have responsive player movement, for example CoOp games, but be mindful of the potential for cheating using this approach.

---------------------------------------------------------------------------------------------

[Follow along starting point] Clone repo, then checkout this commit:
⭐️ https://github.com/BatteryAcid/godot-...

[Finished project]
👉 https://github.com/BatteryAcid/godot-...

FIX for the exceptions found here:    • FIXED! Full Player-Client Multiplayer...  
Thank you @tldmbruno for the suggestion!

---------------------------------------------------------------------------------------------

[Support the channel]
👉   / batteryaciddev  

👋 Let's talk shop 👇
[Discord]   / discord  
[Support the channel] https://www.getyourgamedone.com/chann...
[Twitter]   / batteryaciddev  
[Insta]   / batteryaciddev  
[Mastodon] https://mastodon.gamedev.place/@Batte...
[Threads] https://www.threads.net/@batteryaciddev






















---------------------------------------------------------------------------------------------
00:00:00 FULL PLAYER AUTHORIZATION INTRO
00:01:10 PLAYER CONTROLLER CHANGES
00:05:55 INPUT CHANGES
00:07:02 KILLZONE CHANGE
00:08:04 TEST CHANGES
00:08:43 SYNCHRONIZE SLIME
00:10:18 POTENTIAL ISSUES
00:12:12 DEDICATED SERVER BUILD & DEPLOYMENT


#playerauthority #clientauthority #lagcompensation #clientsidepredictionserverreconciliation #netfox
#steam #steamgame #steammultiplayerpeer #extension #p2p #steammultiplayer #steammultiplayerpeer #godotsteam #steamp2p #2dgame #respawn #pvp #health #animations #gamedevelopment #2dmultiplayer #godotstartertemplate #godot #godottips #gametech #gamedev #indiedev #multiplayer #network #godotengine #brackeys