cleanups and refactors

This commit is contained in:
2024-04-01 00:33:38 +02:00
parent ec6facd4fc
commit 53243b368d
58 changed files with 581 additions and 539 deletions
+13
View File
@@ -0,0 +1,13 @@
extends Control
func _ready():
$".."/AnimationPlayer.play("new_animation")
func _on_server_pressed():
Globals.is_server = true
get_tree().change_scene_to_file("res://levels/TestLevel.tscn")
func _on_client_pressed():
Globals.is_server = false
Globals.server_ip = get_node("MarginContainer/ServerIp").text
get_tree().change_scene_to_file("res://levels/TestLevel.tscn")