-
Notifications
You must be signed in to change notification settings - Fork 0
/
start_ui_.tscn
128 lines (116 loc) · 3.37 KB
/
start_ui_.tscn
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[gd_scene load_steps=4 format=3 uid="uid://brh73wxl6ta8s"]
[ext_resource type="Script" path="res://start_ui_.gd" id="1_askn8"]
[ext_resource type="FontFile" uid="uid://c4m1ip0vv2mvm" path="res://card_assets/text_settings/fonts/DS-DIGI.TTF" id="2_562a2"]
[ext_resource type="Theme" uid="uid://7miaudw2s7n0" path="res://UI settings/button_theme.tres" id="3_c7cee"]
[node name="StartUI" 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_askn8")
[node name="ColorRect" type="ColorRect" parent="."]
visible = false
layout_mode = 0
offset_left = -84.0
offset_top = -1.0
offset_right = 119.0
offset_bottom = 181.0
color = Color(0.0196078, 0.0196078, 0.0196078, 0.784314)
[node name="Players" type="Label" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -75.0
offset_top = -22.0
offset_right = 75.0
offset_bottom = 22.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("2_562a2")
theme_override_font_sizes/font_size = 40
text = "Spillere"
horizontal_alignment = 1
[node name="Buttons" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -81.5
offset_top = 27.0
offset_right = 81.5
offset_bottom = 66.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 12
[node name="Button2" type="Button" parent="Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("3_c7cee")
theme_override_font_sizes/font_size = 30
toggle_mode = true
button_pressed = true
action_mode = 0
text = "2"
[node name="Button3" type="Button" parent="Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("3_c7cee")
theme_override_font_sizes/font_size = 30
toggle_mode = true
action_mode = 0
text = "3
"
[node name="Button4" type="Button" parent="Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("3_c7cee")
theme_override_font_sizes/font_size = 30
toggle_mode = true
action_mode = 0
text = "4
"
[node name="Button5" type="Button" parent="Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("3_c7cee")
theme_override_font_sizes/font_size = 30
toggle_mode = true
action_mode = 0
text = "5"
[node name="Button6" type="Button" parent="Buttons"]
layout_mode = 2
focus_mode = 0
theme = ExtResource("3_c7cee")
theme_override_font_sizes/font_size = 30
toggle_mode = true
action_mode = 0
text = "6"
[node name="Start" type="Button" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -54.0
offset_top = 75.0
offset_right = 54.0
offset_bottom = 124.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("2_562a2")
theme_override_font_sizes/font_size = 40
text = "Start"
[connection signal="pressed" from="Buttons/Button2" to="." method="_on_button_2_pressed"]
[connection signal="pressed" from="Buttons/Button3" to="." method="_on_button_3_pressed"]
[connection signal="pressed" from="Buttons/Button4" to="." method="_on_button_4_pressed"]
[connection signal="pressed" from="Buttons/Button5" to="." method="_on_button_5_pressed"]
[connection signal="pressed" from="Buttons/Button6" to="." method="_on_button_6_pressed"]
[connection signal="pressed" from="Start" to="." method="_on_start_pressed"]