forked from interstellar_development/freeftf
Added Multiplayer Support
This commit is contained in:
parent
beb2b93613
commit
09c345785c
11 changed files with 338 additions and 46 deletions
10
scripts/create.gd
Normal file
10
scripts/create.gd
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue