57 lines
1.7 KiB
Text
57 lines
1.7 KiB
Text
[gd_scene load_steps=4 format=3 uid="uid://wywjvwp7ausj"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b3sb2q80p1fbd" path="res://assets/icons/defeat.png" id="1_bioyr"]
|
|
[ext_resource type="Script" path="res://scripts/ui/defeat.gd" id="1_sbbw3"]
|
|
[ext_resource type="AudioStream" uid="uid://cqbl8resqabdd" path="res://assets/audio/defeat.mp3" id="3_xsj1k"]
|
|
|
|
[node name="Defeat" type="Control"]
|
|
process_mode = 2
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_sbbw3")
|
|
|
|
[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="MarginContainer" type="MarginContainer" parent="Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 6
|
|
text = "DEFEAT"
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
texture = ExtResource("1_bioyr")
|
|
|
|
[node name="MainMenu" type="Button" parent="Panel/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 6
|
|
text = "Main Menu"
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("3_xsj1k")
|
|
volume_db = -30.0
|
|
|
|
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/MainMenu" to="." method="_on_main_menu_pressed"]
|