summaryrefslogtreecommitdiff
path: root/main.tscn
blob: 295bc105f22509331a851724c735fcfd7263498a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[gd_scene load_steps=4 format=3 uid="uid://c3sdm0knce1fx"]

[ext_resource type="Script" uid="uid://dm77sa5w5jdgo" path="res://main.gd" id="1_ig7tw"]

[sub_resource type="InputEventAction" id="InputEventAction_ig7tw"]
action = &"left_click"

[sub_resource type="Shortcut" id="Shortcut_0xm2m"]
events = [SubResource("InputEventAction_ig7tw")]

[node name="Main" 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_ig7tw")

[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
layout_mode = 2

[node name="HostButton" type="Button" parent="CenterContainer/VBoxContainer" node_paths=PackedStringArray("shortcut_context")]
unique_name_in_owner = true
layout_mode = 2
shortcut_context = NodePath(".")
shortcut = SubResource("Shortcut_0xm2m")
text = "Host"

[node name="JoinButton" type="Button" parent="CenterContainer/VBoxContainer" node_paths=PackedStringArray("shortcut_context")]
unique_name_in_owner = true
layout_mode = 2
shortcut_context = NodePath(".")
shortcut = SubResource("Shortcut_0xm2m")
text = "Join"

[connection signal="pressed" from="CenterContainer/VBoxContainer/HostButton" to="." method="_on_button_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/JoinButton" to="." method="_on_button_2_pressed"]