Want to contribute? Fork me on Codeberg.org!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nzbrawl/multiplayer_controller.tscn

57 lines
1.4 KiB

1 year ago
[gd_scene load_steps=2 format=3 uid="uid://btcrmlpg4lrbt"]
[ext_resource type="Script" path="res://multiplayer_controller.gd" id="1_e6bhu"]
[node name="MultiplayerController" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_e6bhu")
[node name="Host" type="Button" parent="."]
layout_mode = 2
offset_left = 487.0
offset_top = 259.0
offset_right = 583.0
offset_bottom = 290.0
text = "Host"
[node name="Join" type="Button" parent="."]
layout_mode = 2
offset_left = 733.0
offset_top = 167.0
offset_right = 829.0
offset_bottom = 198.0
text = "Join"
[node name="Start Game" type="Button" parent="."]
layout_mode = 2
offset_left = 596.0
offset_top = 257.0
offset_right = 692.0
offset_bottom = 288.0
text = "Start Game"
[node name="LineEditName" type="LineEdit" parent="."]
layout_mode = 2
offset_left = 419.0
offset_top = 167.0
offset_right = 727.0
offset_bottom = 198.0
placeholder_text = "Name..."
[node name="LineEditIP" type="LineEdit" parent="."]
layout_mode = 2
offset_left = 417.0
offset_top = 130.0
offset_right = 731.0
offset_bottom = 161.0
placeholder_text = "IP..."
[connection signal="pressed" from="Host" to="." method="_on_host_pressed"]
[connection signal="pressed" from="Join" to="." method="_on_join_pressed"]
[connection signal="pressed" from="Start Game" to="." method="_on_start_game_pressed"]