2024-02-16 15:35:39 +00:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://cjam63kp5sg2o"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/ui/stats_overlay.gd" id="1_iejg3"]
|
|
|
|
[ext_resource type="Theme" uid="uid://gh5a3no0ojkl" path="res://codingland.tres" id="1_ne3m3"]
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bs475"]
|
|
|
|
bg_color = Color(0.996078, 0.996078, 0.996078, 0.588235)
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rfnxc"]
|
|
|
|
bg_color = Color(0.517647, 0.729412, 0.478431, 1)
|
|
|
|
|
|
|
|
[node name="StatsOverlay" type="Control" node_paths=PackedStringArray("survived_indicator", "wave_indicator", "wave_progress")]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
theme = ExtResource("1_ne3m3")
|
|
|
|
script = ExtResource("1_iejg3")
|
|
|
|
survived_indicator = NodePath("SurvivedControl/SurvivedTime")
|
|
|
|
wave_indicator = NodePath("WaveControl/WaveCount")
|
|
|
|
wave_progress = NodePath("WaveControl/WaveProgress")
|
|
|
|
|
|
|
|
[node name="SurvivedControl" type="Control" parent="."]
|
|
|
|
anchors_preset = 0
|
|
|
|
offset_top = 570.0
|
|
|
|
offset_right = 1152.0
|
|
|
|
offset_bottom = 648.0
|
|
|
|
|
|
|
|
[node name="SurvivedCaption" type="Label" parent="SurvivedControl"]
|
|
|
|
layout_mode = 0
|
2024-02-16 16:55:13 +00:00
|
|
|
offset_top = 5.0
|
2024-02-16 15:35:39 +00:00
|
|
|
offset_right = 1152.0
|
2024-02-16 16:55:13 +00:00
|
|
|
offset_bottom = 31.0
|
2024-02-16 15:35:39 +00:00
|
|
|
theme_override_font_sizes/font_size = 18
|
|
|
|
text = "You survived"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="SurvivedTime" type="Label" parent="SurvivedControl"]
|
|
|
|
layout_mode = 0
|
2024-02-16 16:55:13 +00:00
|
|
|
offset_top = 25.0
|
2024-02-16 15:35:39 +00:00
|
|
|
offset_right = 1152.0
|
2024-02-16 16:55:13 +00:00
|
|
|
offset_bottom = 70.0
|
2024-02-16 15:35:39 +00:00
|
|
|
theme_override_font_sizes/font_size = 32
|
|
|
|
text = "0.0s"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="WaveControl" type="Control" parent="."]
|
|
|
|
anchors_preset = 0
|
|
|
|
offset_right = 1152.0
|
|
|
|
offset_bottom = 648.0
|
|
|
|
|
|
|
|
[node name="WaveCaption" type="Label" parent="WaveControl"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_top = 14.0
|
|
|
|
offset_right = 1152.0
|
|
|
|
offset_bottom = 40.0
|
|
|
|
theme_override_font_sizes/font_size = 18
|
|
|
|
text = "Wave"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="WaveCount" type="Label" parent="WaveControl"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_top = 34.0
|
|
|
|
offset_right = 1152.0
|
|
|
|
offset_bottom = 79.0
|
|
|
|
theme_override_font_sizes/font_size = 32
|
|
|
|
text = "1"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="WaveProgress" type="ProgressBar" parent="WaveControl"]
|
|
|
|
custom_minimum_size = Vector2(2.08165e-12, 10)
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 1152.0
|
|
|
|
offset_bottom = 8.0
|
|
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_bs475")
|
|
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_rfnxc")
|
|
|
|
show_percentage = false
|