79 lines
2.9 KiB
Text
79 lines
2.9 KiB
Text
[gd_scene load_steps=3 format=3 uid="uid://daolbixcph5r6"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/end_screen.gd" id="1_qyrmd"]
|
|
[ext_resource type="Theme" uid="uid://b0b3fxesfrpb7" path="res://Assets/UI/Theme.tres" id="3_2gqe3"]
|
|
|
|
[node name="EndScreen" type="Control" node_paths=PackedStringArray("default_focus", "won_label", "lost_label")]
|
|
process_mode = 3
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_qyrmd")
|
|
default_focus = NodePath("CanvasLayer/VBoxContainer/CenterContainer/RetryButton")
|
|
won_label = NodePath("CanvasLayer/VBoxContainer/CenterContainer3/Label")
|
|
lost_label = NodePath("CanvasLayer/VBoxContainer/CenterContainer3/Label2")
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
process_mode = 3
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.576471, 0.831373, 0.709804, 0.392157)
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer"]
|
|
custom_minimum_size = Vector2(500, 600)
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("3_2gqe3")
|
|
theme_override_constants/separation = 10
|
|
alignment = 1
|
|
|
|
[node name="CenterContainer3" type="CenterContainer" parent="CanvasLayer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 200)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="CanvasLayer/VBoxContainer/CenterContainer3"]
|
|
layout_mode = 2
|
|
text = "You won against 500 bunnies!"
|
|
|
|
[node name="Label2" type="Label" parent="CanvasLayer/VBoxContainer/CenterContainer3"]
|
|
layout_mode = 2
|
|
text = "You died!"
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="RetryButton" type="Button" parent="CanvasLayer/VBoxContainer/CenterContainer"]
|
|
custom_minimum_size = Vector2(500, 40)
|
|
layout_mode = 2
|
|
text = "Retry"
|
|
|
|
[node name="CenterContainer2" type="CenterContainer" parent="CanvasLayer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MainMenuButton" type="Button" parent="CanvasLayer/VBoxContainer/CenterContainer2"]
|
|
custom_minimum_size = Vector2(500, 40)
|
|
layout_mode = 2
|
|
text = "Main Menu"
|
|
|
|
[node name="CenterContainer4" type="CenterContainer" parent="CanvasLayer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="QuitButton" type="Button" parent="CanvasLayer/VBoxContainer/CenterContainer4"]
|
|
custom_minimum_size = Vector2(500, 40)
|
|
layout_mode = 2
|
|
text = "Quit"
|
|
|
|
[connection signal="pressed" from="CanvasLayer/VBoxContainer/CenterContainer/RetryButton" to="." method="_on_retry_button_pressed"]
|
|
[connection signal="pressed" from="CanvasLayer/VBoxContainer/CenterContainer2/MainMenuButton" to="." method="_on_main_menu_button_pressed"]
|
|
[connection signal="pressed" from="CanvasLayer/VBoxContainer/CenterContainer4/QuitButton" to="." method="_on_quit_button_pressed"]
|