Started fps system
This commit is contained in:
parent
0dc6247f91
commit
cc26793ab6
32 changed files with 2756 additions and 11 deletions
|
|
@ -9,6 +9,11 @@ func _on_host_button_pressed() -> void:
|
|||
|
||||
|
||||
func _on_connect_button_pressed() -> void:
|
||||
Lobby.join("localhost")
|
||||
var ip = $MainMenu/VBoxContainer/LineEdit.text
|
||||
if ip == "":
|
||||
ip = "localhost"
|
||||
var joined = Lobby.join(ip)
|
||||
if joined != Error.OK:
|
||||
return
|
||||
$MainMenu.hide()
|
||||
$Lobby.show()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue