Added Multiplayer Support

This commit is contained in:
patrick_pluto 2024-08-02 20:13:42 +02:00
commit 09c345785c
11 changed files with 338 additions and 46 deletions

10
scripts/create.gd Normal file
View file

@ -0,0 +1,10 @@
extends Control
func _ready():
Server.create_game()
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)