Rémi Verschelde
3a23fdbe6a
Merge pull request #795 from Faless/ws/3.x_fix_disconnect
...
[3.x] [WebSocket] Fix peer disconnection not closing the network layer.
2023-02-28 16:48:34 +01:00
M o t H
9e68af38d9
Update projects to Godot 3.5 ( #827 )
2023-01-23 18:24:56 +01:00
Fabio Alessandrelli
fe6f646c9d
[WebSocket] Fix peer disconnection not closing the network layer.
...
We were removing it from the MultiplayerAPI but not immediately
destroying it (to avoid tricky in-signal de-referencing).
We still need to properly close the connection in this case if we want
the remote peer to be notified immediately.
2022-11-24 17:45:11 +01:00
Hugo Locurcio
d1f25ca4aa
Use remotesync instead of the deprecated sync in networking demos
...
The `sync` keyword has been deprecated since Godot 3.1.
2021-08-29 12:22:37 +02:00
Fabio Alessandrelli
4fe1930aab
Avoid freeing network peer during signal emission.
...
Always keep a reference to the last used peer even when removing it
from tree.
2020-08-23 20:12:27 +02:00
Aaron Franke
b310877037
Update other networking demos, with style fixes
2020-02-20 15:13:21 -05:00
Fabio Alessandrelli
359ef78ee0
Add WebSocket high level multiplayer demo.
2019-07-28 15:25:36 +02:00