aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/ui.tscn
blob: dcbbfa2a2ddd9ec7fe2ac0df576bb751af2f2efd (plain) (blame)
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
[gd_scene load_steps=4 format=3 uid="uid://c8r6i3bu37ogu"]

[ext_resource type="Script" path="res://Scripts/UI_Control.gd" id="1_77hb8"]

[sub_resource type="LabelSettings" id="LabelSettings_p2s2c"]
font_size = 64

[sub_resource type="LabelSettings" id="LabelSettings_hw7sw"]
line_spacing = 32.0

[node name="UI" type="CanvasLayer"]
follow_viewport_enabled = true

[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("1_77hb8")

[node name="InGameUI" type="Control" parent="Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2

[node name="CurrentTime" type="Label" parent="Control/InGameUI"]
layout_mode = 0
offset_left = 64.0
offset_top = 17.0
offset_right = 119.0
offset_bottom = 43.0
text = "0:00:00"

[node name="CurrentTimeLabel" type="Label" parent="Control/InGameUI"]
layout_mode = 0
offset_left = 14.0
offset_top = 16.0
offset_right = 69.0
offset_bottom = 42.0
text = "Time: "

[node name="PostGameUI" type="Panel" parent="Control"]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="Label" type="Label" parent="Control/PostGameUI"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.1
anchor_right = 0.7
anchor_bottom = 0.1
offset_right = 40.0
offset_bottom = 23.0
scale = Vector2(1, 1.02025)
text = "LEVEL FINISHED"
label_settings = SubResource("LabelSettings_p2s2c")

[node name="Label2" type="Label" parent="Control/PostGameUI"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.3
anchor_right = 0.5
anchor_bottom = 0.3
offset_right = 10.0
offset_bottom = 23.0
scale = Vector2(1, 1.02025)
text = "Final Time:"
label_settings = SubResource("LabelSettings_hw7sw")
horizontal_alignment = 2

[node name="FinalTime" type="Label" parent="Control/PostGameUI"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.3
anchor_right = 0.7
anchor_bottom = 0.3
offset_left = 10.0
offset_bottom = 23.0
scale = Vector2(1, 1.02025)
text = "0.00"
label_settings = SubResource("LabelSettings_hw7sw")

[node name="NextLevelButton" type="Button" parent="Control/PostGameUI"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.3
anchor_top = 0.7
anchor_right = 0.45
anchor_bottom = 0.8
text = "Next Level"

[node name="RestartButton" type="Button" parent="Control/PostGameUI"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.55
anchor_top = 0.7
anchor_right = 0.7
anchor_bottom = 0.8
text = "Retry"