Add Multiplayer to your Godot Game!

Battery Acid Dev
Battery Acid Dev
38.5 هزار بار بازدید - 2 ماه پیش - This is a tutorial for
This is a tutorial for how to turn Brackeys first Godot project into a multiplayer game! We add players to the game with MultiplayerSpawner and  sync their location and animation with a MultiplayerSynchronizer. I touch on how to use an RPC to send a message to the server. We also look at some common server/client authority strategies for setting up a multiplayer game.

If you haven't already, please watch Brackeys tutorial, it is very good and really helps you understand how to get started with Godot and create a 2D game!

[Brackeys Godot Tutorial]
How to make a Video Game - Godot Begi...
https://github.com/Brackeys/first-gam...

[Looking for the code?]
⭐️ https://github.com/BatteryAcid/first-...
👉 Patreon: BatteryAcidDev

👋 Let's talk shop 👇
[Discord] Discord: discord
[Twitter] Twitter: BatteryAcidDev
[Support the channel] https://www.getyourgamedone.com/chann...

-----------------------------------------------------------------
00:00:00 TOPICS
00:01:04 CREATE MULTIPLAYER BUTTONS
00:05:15 CREATE MULTIPLAYER MANAGER AUTOLOAD
00:06:30 CREATE SERVER
00:07:21 CONNECTION LIFECYCLE SIGNALS
00:09:32 CREATE CLIENT
00:10:08 DEBUG WITH MULTIPLE WINDOWS
00:12:14 CREATE MULTIPLAYER SCENE
00:13:18 INIT PLAYERS FOR GAME
00:15:00 MULTIPLAYER SPAWNER
00:17:27 ADD PLAYERS TO GAME
00:18:21 REMOVE SINGLE PLAYER
00:19:52 HOW TO DEBUG PLAYER SESSION
00:21:01 BUILD PLAYER CONTROLLER
00:22:47 CREATE INPUT SYNCHRONIZER
00:25:04 APPLY MOVEMENT TO PLAYER
00:25:54 SYNC INPUT DIRECTION
00:26:36 SET PLAYER INPUT AUTHORITY
00:29:17 CREATE PLAYER SYNCHRONIZER
00:31:20 ADD PLAYER JUMP
00:32:00 JUMP RPC
00:35:00 ENABLE CAMERA
00:36:03 ENABLE ANIMATIONS
00:41:21 SYNCHRONIZER PLATFORM
00:45:20 HANDLE MULTIPLAYER DYING & RESPAWN
00:54:01 ADD FINISH LINE SET WINNER
00:57:00 DEMO & WHAT COMES NEXT














#2dgame #respawn #pvp #health #animations #gamedevelopment  #2dmultiplayer #godotstartertemplate #godot #godottips #gametech #gamedev #indiedev #multiplayer #network #godotengine #brackeys
2 ماه پیش در تاریخ 1403/02/20 منتشر شده است.
38,512 بـار بازدید شده
... بیشتر