Overhauled camera
This commit is contained in:
parent
5fe8f22ccb
commit
da78e7f287
21 changed files with 385 additions and 71 deletions
|
|
@ -3,7 +3,8 @@ extends Control
|
|||
@onready var lobby_code_input = $PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/LobbyCodeInput
|
||||
|
||||
func _ready():
|
||||
WSClient.lobby_joined.connect(_on_lobby_joined)
|
||||
#WSClient.lobby_joined.connect(_on_lobby_joined)
|
||||
pass
|
||||
|
||||
func _on_lobby_joined(lobby: String) -> void:
|
||||
GameData.lobby_code = lobby
|
||||
|
|
@ -18,4 +19,5 @@ func _on_back_button_pressed():
|
|||
|
||||
func _on_connect_button_pressed():
|
||||
GameData.is_player_black = true
|
||||
WSClient.start(GameData.WEBSOCKET_ENDPOINT, lobby_code_input.text, false)
|
||||
#WSClient.start(GameData.WEBSOCKET_ENDPOINT, lobby_code_input.text, false)
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue