Godotsteam: how can i do rpc at steam network match?

Created on 29 Nov 2018  Â·  6Comments  Â·  Source: Gramps/GodotSteam

if can use godots high level api with steam,it will be awosome。i need to use godots lan network with steamserver,steam gots natand transmit server,i can make a room base game。but i donot know if rpc of high level api in godots doc can be used to synchronize peer。 forgive my poor english,thx

question

All 6 comments

Yes, you can use both. My last game uses Godot's networking paired with Steam. When I finish Steamworks matchmaking and network integration, you should be able to use whatever.

What specifically were you trying to do?

sorry,i read steamworks doc,i know i donot need steam server,i make a mistake,i want to use steam p2p,can i use rpc in p2p?

Hmm, not sure if you can use the Steam p2p calls with RPC since RPC command requires the eNet connection which would be replaced by Steam's. I think you have to go one or the other. However, the matchmaking stuff still works with Godot native networking.

Right now Steam's networking is better then Godot's due to NAT issues, but those should be fixed in Godot 3.1.

thx,bro,my friend told me that steam p2p can use rpc,because his project be selled in steam already useing successful。

Ah, OK. So he has some examples then I take it. Nice!

Hey @yuyubibibobibo, I have added Steamworks P2P functionality since this issue was posted and put up a quick tutorial on how to use it. Just in case you needed it!

Was this page helpful?
0 / 5 - 0 ratings