add chasers
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
extends Control
|
||||
|
||||
func _on_join_button_pressed() -> void:
|
||||
MultiplayerManager.connect_to_ip(%IpTextBox.text)
|
||||
func _on_join_as_runner_button_pressed() -> void:
|
||||
MultiplayerManager.connect_to_ip(true, %IpTextBox.text)
|
||||
get_tree().change_scene_to_file("res://scenes/in_game.tscn")
|
||||
|
||||
func _on_join_as_chaser_button_pressed() -> void:
|
||||
MultiplayerManager.connect_to_ip(false, %IpTextBox.text)
|
||||
get_tree().change_scene_to_file("res://scenes/in_game.tscn")
|
||||
|
||||
Reference in New Issue
Block a user