CyberTower/scenes/ui/finish_screen.tscn
2024-02-17 00:55:13 +08:00

122 lines
3.2 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dy51uqtr2ng32"]
[ext_resource type="Script" path="res://scripts/ui/finish_screen.gd" id="1_c1emt"]
[ext_resource type="Theme" uid="uid://gh5a3no0ojkl" path="res://codingland.tres" id="1_l6ven"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_djdno"]
bg_color = Color(0.301961, 0.301961, 0.301961, 1)
[node name="FinishScreen" type="Control" node_paths=PackedStringArray("survived_indicator", "wave_indicator", "enemies_indicator", "bullet_indicator")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_l6ven")
script = ExtResource("1_c1emt")
survived_indicator = NodePath("Panel/SurvivedTime")
wave_indicator = NodePath("Panel/WaveCount")
enemies_indicator = NodePath("Panel/EnemyCount")
bullet_indicator = NodePath("Panel/BulletCount")
[node name="Panel" type="Panel" parent="."]
layout_mode = 0
offset_right = 1152.0
offset_bottom = 648.0
theme_override_styles/panel = SubResource("StyleBoxFlat_djdno")
[node name="Title" type="Label" parent="Panel"]
layout_mode = 0
offset_top = 128.0
offset_right = 1152.0
offset_bottom = 212.0
theme_override_font_sizes/font_size = 64
text = "You failed"
horizontal_alignment = 1
[node name="Subtitle" type="Label" parent="Panel"]
layout_mode = 0
offset_top = 208.0
offset_right = 1152.0
offset_bottom = 250.0
theme_override_font_sizes/font_size = 28
text = "The tower has been destroyed"
horizontal_alignment = 1
[node name="SurvivedCaption" type="Label" parent="Panel"]
layout_mode = 0
offset_top = 416.0
offset_right = 576.0
offset_bottom = 448.0
theme_override_font_sizes/font_size = 24
text = "You Survived"
horizontal_alignment = 1
[node name="SurvivedTime" type="Label" parent="Panel"]
layout_mode = 0
offset_top = 440.0
offset_right = 576.0
offset_bottom = 504.0
theme_override_font_sizes/font_size = 48
text = "0.0s"
horizontal_alignment = 1
[node name="WaveCaption" type="Label" parent="Panel"]
layout_mode = 0
offset_top = 296.0
offset_right = 576.0
offset_bottom = 328.0
theme_override_font_sizes/font_size = 24
text = "Wave"
horizontal_alignment = 1
[node name="WaveCount" type="Label" parent="Panel"]
layout_mode = 0
offset_top = 324.0
offset_right = 576.0
offset_bottom = 388.0
theme_override_font_sizes/font_size = 48
text = "1"
horizontal_alignment = 1
[node name="EnemyTitle" type="Label" parent="Panel"]
layout_mode = 0
offset_left = 576.0
offset_top = 296.0
offset_right = 1152.0
offset_bottom = 328.0
theme_override_font_sizes/font_size = 24
text = "Enemy Defeated"
horizontal_alignment = 1
[node name="EnemyCount" type="Label" parent="Panel"]
layout_mode = 0
offset_left = 576.0
offset_top = 324.0
offset_right = 1152.0
offset_bottom = 388.0
theme_override_font_sizes/font_size = 48
text = "0"
horizontal_alignment = 1
[node name="BulletTitle" type="Label" parent="Panel"]
layout_mode = 0
offset_left = 576.0
offset_top = 416.0
offset_right = 1152.0
offset_bottom = 448.0
theme_override_font_sizes/font_size = 24
text = "Bullet Shoot"
horizontal_alignment = 1
[node name="BulletCount" type="Label" parent="Panel"]
layout_mode = 0
offset_left = 576.0
offset_top = 440.0
offset_right = 1152.0
offset_bottom = 504.0
theme_override_font_sizes/font_size = 48
text = "0"
horizontal_alignment = 1