raamweinfeld / Killer-Artists

Definitely not an Among Us clone with drawing mechanics shoehorned in.
0 stars 0 forks source link

HTML5 Export only supports WebSocket #2

Closed raamweinfeld closed 3 years ago

raamweinfeld commented 3 years ago

This might be a problem: https://docs.godotengine.org/en/stable/tutorials/networking/high_level_multiplayer.html

Most of Godot's supported platforms offer all or most of the mentioned high- and low-level networking features. As networking is always largely hardware and operating system dependent, however, some features may change or not be available on some target platforms. Most notably, the HTML5 platform currently only offers WebSocket support and lacks some of the higher level features as well as raw access to low-level protocols like TCP and UDP.

Devon7925 commented 3 years ago

Should be fine as long as we use websocket.

raamweinfeld commented 3 years ago

WebRTC looks like the way to go. Websocket protocol is TCP and too slow for real-time drawing action. https://docs.godotengine.org/en/stable/tutorials/networking/webrtc.html#doc-webrtc

Devon7925 commented 3 years ago

https://discord.gg/H33mhNrW

Devon7925 commented 3 years ago

this is fine now