We look at how to use the SteamMultiplayerPeer GDExtension to enable use of the High Level Networking APIs (like Spawner, Synchronizer, RPCs) for a P2P multiplayer game over Steam networks.
In the last video we looked at how to achieve this setup using a pre-compiled custom Godot build. For this one we only need the GodotSteam and SteamMultiplayerPeer extensions.
[This video's code starting point to follow along]
https://github.com/BatteryAcid/godot-...
[Finished code]
https://github.com/BatteryAcid/godot-...
---------------------------------------------------------------------------------------------
[Pre-compiled version tutorial]
• Godot + Steam P2P Multiplayer
[Extension/Addon SteamMultiplayerPeer]
https://github.com/expressobits/steam...
[Source Demo]
https://github.com/expressobits/steam...
---------------------------------------------------------------------------------------------
[Looking for the code?]
👉 / 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
---------------------------------------------------------------------------------------------
This extension is built on the SteamNetworkingSockets APIs which is Steam’s lower level socket:
https://partner.steamgames.com/doc/ap...
The pre-compiled custom Godot build uses SteamNetworkingMessages:
https://partner.steamgames.com/doc/ap...
---------------------------------------------------------------------------------------------
[k_EResultLimitExceeded issue]
https://github.com/expressobits/steam...
[Troubleshooting opening the pre-compiled build then installing the Extension issue]
https://godotsteam.com/tutorials/comm...
[MacOS issues]
https://github.com/expressobits/steam...
---------------------------------------------------------------------------------------------
00:00:00 TOPIC OVERVIEW
00:01:00 STARTING POINT
00:01:54 INSTALL EXTENSIONS
00:03:40 REFACTOR HOST
00:10:00 REFACTOR CLIENT
00:15:16 LOBBY QUERY FILTER
00:15:40 LOBBY JOIN ERRORS
00:16:31 EXPORT PROJECT
00:17:30 DEMO CHANGES
00:18:15 NETWORK ISSUES
#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