TowerDefense/UI/defeat_screen.tscn

50 lines
1.3 KiB
Text

[gd_scene load_steps=4 format=3 uid="uid://yonrrq1fbs3b"]
[ext_resource type="Script" uid="uid://vjlwfv5wjs1n" path="res://UI/defeat_screen.gd" id="1_g253y"]
[ext_resource type="AudioStream" uid="uid://coilxjmvol3k3" path="res://Assets/Audio/SFX/Voiceover/game_over.ogg" id="2_vnp5o"]
[sub_resource type="LabelSettings" id="LabelSettings_i0rmf"]
font_size = 70
[node name="DefeatScreen" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_g253y")
[node name="Panel" type="Panel" parent="."]
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="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -11.5
offset_right = 20.0
offset_bottom = 11.5
grow_horizontal = 2
grow_vertical = 2
text = "Burned out !"
label_settings = SubResource("LabelSettings_i0rmf")
[node name="Timer" type="Timer" parent="."]
wait_time = 3.0
autostart = true
[node name="SFXGameOver" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_vnp5o")
bus = &"SFX"
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]