multiplayer
This commit is contained in:
parent
aa35ee5975
commit
0dc6247f91
22 changed files with 298 additions and 14 deletions
14
scripts/gui/main_menu_gui.gd
Normal file
14
scripts/gui/main_menu_gui.gd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
extends Node
|
||||
|
||||
|
||||
|
||||
func _on_host_button_pressed() -> void:
|
||||
Lobby.host()
|
||||
$MainMenu.hide()
|
||||
$Lobby.show()
|
||||
|
||||
|
||||
func _on_connect_button_pressed() -> void:
|
||||
Lobby.join("localhost")
|
||||
$MainMenu.hide()
|
||||
$Lobby.show()
|
||||
Loading…
Add table
Add a link
Reference in a new issue