feat: Implement comprehensive lobby system with main menu, room management, and loading screen.

This commit is contained in:
Yogi Wiguna
2026-03-17 12:02:20 +08:00
parent b877f94e34
commit 6eb6dfa20d
5 changed files with 71 additions and 37 deletions
+2 -1
View File
@@ -708,8 +708,9 @@ func _on_room_left() -> void:
connection_status.text = "Left room"
func _on_host_disconnected() -> void:
# Keep the connection status updated in the UI
connection_status.text = "Host disconnected. Returning to menu..."
_show_panel("main_menu")
connection_status.text = "Host disconnected. Match terminated."
func _on_player_joined(player_data: Dictionary) -> void:
_update_player_slots()