game/Multiplayer.tscn

56 lines
1.4 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://c0tixmwdmp28k"]
[ext_resource type="Script" path="res://MultiplayerController.gd" id="1_i2fn6"]
[node name="Control" 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_i2fn6")
[node name="Host" type="Button" parent="."]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
text = "Host
"
[node name="Join" type="Button" parent="."]
offset_left = 5.0
offset_top = 33.0
offset_right = 43.0
offset_bottom = 64.0
text = "Join"
[node name="Start" type="Button" parent="."]
offset_left = 5.0
offset_top = 95.0
offset_right = 51.0
offset_bottom = 126.0
text = "Start"
[node name="Nickname" type="TextEdit" parent="."]
layout_mode = 0
offset_left = 26.0
offset_top = 138.0
offset_right = 378.0
offset_bottom = 170.0
placeholder_text = "nickname"
[node name="Apply" type="Button" parent="."]
layout_mode = 0
offset_left = 390.0
offset_top = 139.0
offset_right = 456.0
offset_bottom = 170.0
text = "Apply"
[connection signal="button_down" from="Host" to="." method="_on_host_button_down"]
[connection signal="button_down" from="Join" to="." method="_on_join_button_down"]
[connection signal="button_down" from="Start" to="." method="_on_start_button_down"]
[connection signal="text_changed" from="Nickname" to="." method="_on_nickname_text_changed"]
[connection signal="button_down" from="Apply" to="." method="_on_apply_button_down"]