Browser seems good to go!

This commit is contained in:
dingo
2026-01-31 10:06:08 -05:00
parent 54ed27b97a
commit a0ee3deeca
6 changed files with 248 additions and 8 deletions
+3 -3
View File
@@ -78,9 +78,9 @@ func connect_to_server() -> Error:
socket = WebSocketPeer.new()
# Increase buffer sizes for large dungeon data transfers
socket.inbound_buffer_size = 8 * 1024 * 1024 # 8MB for large state updates
socket.outbound_buffer_size = 1024 * 1024 # 1MB for outgoing messages
socket.max_queued_packets = 4096 # Handle burst traffic
socket.inbound_buffer_size = 32 * 1024 * 1024 # 32MB for large state updates (web can stall)
socket.outbound_buffer_size = 4 * 1024 * 1024 # 4MB for outgoing messages
socket.max_queued_packets = 8192 # Handle burst traffic
print("[Network] Attempting connection to: ", SERVER_URL)
var err = socket.connect_to_url(SERVER_URL)