This commit is contained in:
patrick_pluto 2024-08-03 22:24:08 +02:00
commit 8435fb0cf8
9 changed files with 140 additions and 36 deletions

View file

@ -16,3 +16,7 @@ func _ready():
func _on_start_pressed():
Server.send_playerinfo(get_tree().root.get_node("create/player_customization/name").text, multiplayer.get_unique_id())
Server.start_game.rpc(Server.players)
func _input(event):
if Input.is_action_just_pressed("escape"):
get_tree().change_scene_to_file("res://menus/main_menu.tscn")