2023-10-25 18:16:00 +02:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://wywjvwp7ausj"]
|
2023-10-17 19:26:00 +02:00
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b3sb2q80p1fbd" path="res://assets/icons/defeat.png" id="1_bioyr"]
|
2023-10-18 06:09:00 +02:00
|
|
|
[ext_resource type="Script" path="res://scripts/ui/defeat.gd" id="1_sbbw3"]
|
2023-10-25 18:16:00 +02:00
|
|
|
[ext_resource type="Theme" uid="uid://bt3yyqwlp4f7j" path="res://themes/title_text.tres" id="2_57ey4"]
|
2023-10-21 18:35:50 +02:00
|
|
|
[ext_resource type="AudioStream" uid="uid://cqbl8resqabdd" path="res://assets/audio/defeat.mp3" id="3_xsj1k"]
|
2023-10-25 18:16:00 +02:00
|
|
|
[ext_resource type="Theme" uid="uid://caw53lcko4jnt" path="res://themes/button.tres" id="4_ol178"]
|
2023-10-17 19:26:00 +02:00
|
|
|
|
|
|
|
[node name="Defeat" type="Control"]
|
2023-10-19 15:33:57 +02:00
|
|
|
process_mode = 2
|
2023-10-17 19:26:00 +02:00
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2023-10-18 06:09:00 +02:00
|
|
|
script = ExtResource("1_sbbw3")
|
2023-10-17 19:26:00 +02:00
|
|
|
|
|
|
|
[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
|
2023-10-25 18:16:00 +02:00
|
|
|
theme = ExtResource("2_57ey4")
|
2023-10-17 19:26:00 +02:00
|
|
|
text = "DEFEAT"
|
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
texture = ExtResource("1_bioyr")
|
|
|
|
|
2023-10-18 06:09:00 +02:00
|
|
|
[node name="MainMenu" type="Button" parent="Panel/MarginContainer/VBoxContainer"]
|
2023-10-17 19:26:00 +02:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 6
|
2023-10-25 18:16:00 +02:00
|
|
|
theme = ExtResource("4_ol178")
|
2023-10-17 19:26:00 +02:00
|
|
|
text = "Main Menu"
|
2023-10-18 06:09:00 +02:00
|
|
|
|
2023-10-21 18:35:50 +02:00
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = ExtResource("3_xsj1k")
|
2023-10-25 20:03:35 +02:00
|
|
|
volume_db = 1.0
|
2023-10-21 18:35:50 +02:00
|
|
|
|
2023-10-18 06:09:00 +02:00
|
|
|
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/MainMenu" to="." method="_on_main_menu_pressed"]
|