filmov
tv
Godot + Steam P2P Multiplayer

Показать описание
In this video we look at an amazing solution for Godot P2P multiplayer using GodotSteam.
It uses the newer SteamMultiplayerPeer library so that you don't have to rewrite your multiplayer code if you used Godot's High Level Multiplayer APIs, such as MultiplayerSynchronizer, MultiplayerSpawner, and RPCs.
We also cover a strategy to easily swap between the default ENet networking solution and SteamMultiplayerPeer, so you can develop and test your multiplayer game on the same computer, then when ready, seamlessly switch to the Steam solution.
--------------------------------------------------------------------------------------------------------
You'll need these two starred things to follow along in the video
[Base Multiplayer Project if you want to follow along]
[Completed project]
This is the custom Godot build with Steam and SteamMultiplayerPeer support.
- Download the pre-compiled build for your OS. Open this and import the cloned project above. @1:28 in the video:
- Download the templates zip so you can export it, @49:57 in the video.
--------------------------------------------------------------------------------------------------------
[Brackeys Godot Tutorial and Project ]
--------------------------------------------------------------------------------------------------------
[Looking for the code?]
👋 Let's talk shop 👇
[Resources]
[Init Steam]
[Exporting with Steam]
[Godot Steam GDExtension 4.1/4.2 (Not using here)]
[Steam Multiplayer Peer Plugin (Not using here)]
[Steam Overlay Issues]
------------------------------------------------------------------------------------------------------------
00:00:00 SOLUTION OVERVIEW
00:01:07 GETTING STARTED
00:04:09 STEAM UI
00:11:38 INIT STEAM
00:19:06 NETWORK MANAGER
00:28:53 ENET NETWORK
00:30:58 STEAM NETWORK
00:37:10 LIST STEAM LOBBIES
00:44:15 JOIN LOBBY
00:45:26 MULTIPLAYER MANAGER CLEANUP
00:47:35 TEST CHANGES
00:49:56 EXPORT CLIENT
00:51:28 MULTI-COMPUTER TEST
00:52:29 USERNAME SUPPORT HACK
00:58:14 TEST WITH STEAM USERNAMES
01:00:45 WHAT’S NEXT
#steam #steamgame #p2p #steammultiplayer #steammultiplayerpeer #godotsteam #steamp2p #2dgame #respawn #pvp #health #animations #gamedevelopment #2dmultiplayer #godotstartertemplate #godot #godottips #gametech #gamedev #indiedev #multiplayer #network #godotengine #brackeys
It uses the newer SteamMultiplayerPeer library so that you don't have to rewrite your multiplayer code if you used Godot's High Level Multiplayer APIs, such as MultiplayerSynchronizer, MultiplayerSpawner, and RPCs.
We also cover a strategy to easily swap between the default ENet networking solution and SteamMultiplayerPeer, so you can develop and test your multiplayer game on the same computer, then when ready, seamlessly switch to the Steam solution.
--------------------------------------------------------------------------------------------------------
You'll need these two starred things to follow along in the video
[Base Multiplayer Project if you want to follow along]
[Completed project]
This is the custom Godot build with Steam and SteamMultiplayerPeer support.
- Download the pre-compiled build for your OS. Open this and import the cloned project above. @1:28 in the video:
- Download the templates zip so you can export it, @49:57 in the video.
--------------------------------------------------------------------------------------------------------
[Brackeys Godot Tutorial and Project ]
--------------------------------------------------------------------------------------------------------
[Looking for the code?]
👋 Let's talk shop 👇
[Resources]
[Init Steam]
[Exporting with Steam]
[Godot Steam GDExtension 4.1/4.2 (Not using here)]
[Steam Multiplayer Peer Plugin (Not using here)]
[Steam Overlay Issues]
------------------------------------------------------------------------------------------------------------
00:00:00 SOLUTION OVERVIEW
00:01:07 GETTING STARTED
00:04:09 STEAM UI
00:11:38 INIT STEAM
00:19:06 NETWORK MANAGER
00:28:53 ENET NETWORK
00:30:58 STEAM NETWORK
00:37:10 LIST STEAM LOBBIES
00:44:15 JOIN LOBBY
00:45:26 MULTIPLAYER MANAGER CLEANUP
00:47:35 TEST CHANGES
00:49:56 EXPORT CLIENT
00:51:28 MULTI-COMPUTER TEST
00:52:29 USERNAME SUPPORT HACK
00:58:14 TEST WITH STEAM USERNAMES
01:00:45 WHAT’S NEXT
#steam #steamgame #p2p #steammultiplayer #steammultiplayerpeer #godotsteam #steamp2p #2dgame #respawn #pvp #health #animations #gamedevelopment #2dmultiplayer #godotstartertemplate #godot #godottips #gametech #gamedev #indiedev #multiplayer #network #godotengine #brackeys
Комментарии