adds the game

This commit is contained in:
2026-08-14 18:01:56 -04:00
commit 9edadb3ce2
563 changed files with 39331 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
extends Control
var player
func _ready():
print($/root/main/world/menuPlayer)
player = $/root/main/world/menuPlayer
func _on_button_pressed() -> void:
NetworkHandler.startServer()
player.queue_free()
func _on_button_2_pressed() -> void:
var IPAdress = "localhost"
if $VBoxContainer/LineEdit.text != "":
IPAdress = $VBoxContainer/LineEdit.text
player.queue_free()
NetworkHandler.startClient(IPAdress)