2026-01-11 16:37:57 +11:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://dpa3yvdrddtsh"]
|
2026-01-11 16:05:12 +11:00
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cvsibrbtuqfww" path="res://assets/ready_time.png" id="1_chnjs"]
|
2026-01-11 16:37:57 +11:00
|
|
|
[ext_resource type="Script" uid="uid://c4y7w10si2q2p" path="res://time_system/clock.gd" id="1_m6rn1"]
|
2026-01-11 16:05:12 +11:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bemb2moou1hkj" path="res://assets/timer_over.png" id="2_m6rn1"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dvxtm2ahjd55h" path="res://assets/used_time.png" id="3_uyb5s"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_r3ygl"]
|
|
|
|
|
font_size = 32
|
|
|
|
|
|
2026-01-14 20:10:03 +11:00
|
|
|
[node name="Clock" type="Control" node_paths=PackedStringArray("bar", "timer_text", "days_text")]
|
2026-01-11 17:38:55 +11:00
|
|
|
z_index = 2
|
2026-01-11 16:05:12 +11:00
|
|
|
layout_mode = 3
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
2026-01-11 16:37:57 +11:00
|
|
|
mouse_filter = 2
|
|
|
|
|
script = ExtResource("1_m6rn1")
|
2026-01-14 20:10:03 +11:00
|
|
|
bar = NodePath("PanelContainer/VBoxContainer/HBoxContainer/TextureProgressBar")
|
|
|
|
|
timer_text = NodePath("PanelContainer/VBoxContainer/HBoxContainer/TextureProgressBar/PanelContainer/Label")
|
|
|
|
|
days_text = NodePath("PanelContainer/VBoxContainer/HBoxContainer/VBoxContainer/Label")
|
2026-01-11 16:05:12 +11:00
|
|
|
|
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 5
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
offset_left = -20.0
|
|
|
|
|
offset_right = 20.0
|
|
|
|
|
offset_bottom = 40.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
|
2026-01-14 20:10:03 +11:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
2026-01-11 16:05:12 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
2026-01-14 20:10:03 +11:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
2026-01-11 16:05:12 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
alignment = 1
|
|
|
|
|
|
2026-01-14 20:10:03 +11:00
|
|
|
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
2026-01-11 16:05:12 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
text = "7"
|
|
|
|
|
label_settings = SubResource("LabelSettings_r3ygl")
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
2026-01-14 20:10:03 +11:00
|
|
|
[node name="Label2" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
2026-01-11 16:05:12 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Days Left"
|
|
|
|
|
|
2026-01-14 20:10:03 +11:00
|
|
|
[node name="TextureProgressBar" type="TextureProgressBar" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
2026-01-11 16:05:12 +11:00
|
|
|
custom_minimum_size = Vector2(150, 73)
|
|
|
|
|
layout_mode = 2
|
2026-01-11 16:37:57 +11:00
|
|
|
max_value = 1.0
|
|
|
|
|
step = 0.0
|
2026-01-11 16:05:12 +11:00
|
|
|
fill_mode = 4
|
|
|
|
|
radial_initial_angle = 270.0
|
|
|
|
|
radial_fill_degrees = 180.0
|
|
|
|
|
radial_center_offset = Vector2(0, 41.055)
|
|
|
|
|
nine_patch_stretch = true
|
|
|
|
|
texture_under = ExtResource("1_chnjs")
|
|
|
|
|
texture_over = ExtResource("2_m6rn1")
|
|
|
|
|
texture_progress = ExtResource("3_uyb5s")
|
2026-01-11 16:37:57 +11:00
|
|
|
|
2026-01-14 20:10:03 +11:00
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="PanelContainer/VBoxContainer/HBoxContainer/TextureProgressBar"]
|
2026-01-11 16:37:57 +11:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 7
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = -16.0
|
|
|
|
|
offset_top = -23.0
|
|
|
|
|
offset_right = 16.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 0
|
|
|
|
|
|
2026-01-14 20:10:03 +11:00
|
|
|
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/TextureProgressBar/PanelContainer"]
|
2026-01-11 16:37:57 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 8
|
|
|
|
|
text = "200"
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
vertical_alignment = 2
|
2026-01-14 20:10:03 +11:00
|
|
|
|
|
|
|
|
[node name="NextDay" type="Button" parent="PanelContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Proceed to next day ->"
|
|
|
|
|
|
|
|
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/NextDay" to="." method="_on_next_day_pressed"]
|