diff options
Diffstat (limited to '')
-rw-r--r-- | Nodes/ui.tscn | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/Nodes/ui.tscn b/Nodes/ui.tscn new file mode 100644 index 0000000..8467074 --- /dev/null +++ b/Nodes/ui.tscn @@ -0,0 +1,92 @@ +[gd_scene load_steps=4 format=3 uid="uid://bunwe03ob38mr"] + +[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 +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 + +[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") |