aboutsummaryrefslogblamecommitdiffstats
path: root/Nodes/ui.tscn
blob: fd035c2b420b2129c8bdf3e2ed4a5dd7b7ffbdc6 (plain) (tree)
1
                                                          
















                                                                            

                   
                








                                                      
                
































































                                                                     

















                                                                       
[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="Control" 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"