multiplayer

This commit is contained in:
Rendo 2025-11-22 01:07:18 +05:00
commit 0dc6247f91
22 changed files with 298 additions and 14 deletions

View file

@ -0,0 +1,13 @@
extends Node
func _ready() -> void:
Lobby.lobby_joined.connect(on_lobby_joined)
func _on_leave_button_pressed() -> void:
Lobby.leave()
func _on_start_button_pressed() -> void:
Lobby.start_game.rpc()
func on_lobby_joined() -> void:
$StartButton.hide()