We continue where we left off in the last video by adding in the respawn logic to place the player back in the game, setup the respawn timer and button, along with resetting health and position. I also revisit some code from the last video to squash some bugs with the death animation.
This demo is a multiplayer game that uses Godot's multiplayer spawner and synchronizer tools.
----------------------------------------------------------------------------
[Part 1]
• Basic PvP with Health and Weapon Damage
[GDScript Style Guide]
https://docs.godotengine.org/en/stabl...
[Looking for the code?]
👉 / batteryaciddev
👋 Let's talk shop 👇
[Discord] / discord
[Helpful Unity Networking Assets] https://prf.hn/l/n0bZqOe
[Twitter] / batteryaciddev
[Support the channel] https://www.getyourgamedone.com/chann...
--------------------
00:00:00 WHERE WE LEFT OFF
00:01:00 TURN OFF COLLISION WHEN DEAD
00:01:56 RESPAWN VARIABLES AND REPLICATION
00:03:44 UI SETUP WHEN DEAD
00:06:48 RESPAWN TIMER & UI SETUP
00:17:54 RESPAWN LOGIC
00:19:59 TEST OUR SETUP
00:21:30 FIXING BUGS
00:24:09 COMPLETE PVP DEMO
#respawn #pvp #health #weapondamage #dynamicanimation #3rdpersonshooter #animationtree #statemachine #animations #gamedevelopment #3dmultiplayer #godotstartertemplate #godot #godottips #gametech #gamedev #indiedev #multiplayer #network #godotengine