SlimeoosOdyssey/godot/UI/PauseMenu.tscn

85 lines
2.6 KiB
Plaintext
Raw Permalink Normal View History

2023-08-20 17:12:21 -06:00
[gd_scene load_steps=6 format=3 uid="uid://cbca7q18ae42h"]
2023-08-20 14:59:32 -06:00
[ext_resource type="Script" path="res://UI/PauseMenu.gd" id="1_3puj1"]
[ext_resource type="Texture2D" uid="uid://dxxd258q3uomg" path="res://UI/Play.png" id="1_c4do0"]
[ext_resource type="Texture2D" uid="uid://hgb2ifbdpp3" path="res://UI/Exit.png" id="3_djmuk"]
2023-08-20 17:12:21 -06:00
[ext_resource type="Texture2D" uid="uid://b5l5hur0x6nx0" path="res://Textures/redo.png" id="3_wl7bl"]
[ext_resource type="Texture2D" uid="uid://cali86gqly7e3" path="res://Textures/kill.png" id="4_cr4ot"]
2023-08-20 14:59:32 -06:00
[node name="PauseMenu" type="Control"]
process_mode = 3
z_index = 3
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_3puj1")
[node name="Background" type="ColorRect" parent="."]
z_index = -1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0.12549, 0.458824, 0.317647, 0.356863)
[node name="CenterContainer" type="CenterContainer" 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 = -124.0
offset_top = -74.0
offset_right = 124.0
offset_bottom = 74.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer"]
layout_mode = 2
theme_override_constants/separation = 75
alignment = 1
[node name="ResumeButton" type="Button" parent="CenterContainer/HBoxContainer"]
process_mode = 3
2023-08-20 16:48:12 -06:00
texture_filter = 1
2023-08-20 14:59:32 -06:00
layout_mode = 2
text = " "
icon = ExtResource("1_c4do0")
flat = true
icon_alignment = 1
2023-08-20 17:01:30 -06:00
[node name="Restart" type="Button" parent="CenterContainer/HBoxContainer"]
layout_mode = 2
2023-08-20 17:12:21 -06:00
icon = ExtResource("3_wl7bl")
2023-08-20 17:22:02 -06:00
flat = true
2023-08-20 17:12:21 -06:00
[node name="Kill" type="Button" parent="CenterContainer/HBoxContainer"]
layout_mode = 2
icon = ExtResource("4_cr4ot")
2023-08-20 17:22:02 -06:00
flat = true
2023-08-20 17:01:30 -06:00
2023-08-20 14:59:32 -06:00
[node name="QuitButton" type="Button" parent="CenterContainer/HBoxContainer"]
process_mode = 3
2023-08-20 16:48:12 -06:00
texture_filter = 1
2023-08-20 14:59:32 -06:00
layout_mode = 2
theme_override_constants/outline_size = 1
theme_override_constants/h_separation = 0
theme_override_constants/icon_max_width = 0
text = " "
icon = ExtResource("3_djmuk")
flat = true
icon_alignment = 1
[connection signal="pressed" from="CenterContainer/HBoxContainer/ResumeButton" to="." method="unpause"]
2023-08-20 17:12:21 -06:00
[connection signal="pressed" from="CenterContainer/HBoxContainer/Restart" to="." method="_on_restart_pressed"]
[connection signal="pressed" from="CenterContainer/HBoxContainer/Kill" to="." method="_on_kill_pressed"]
2023-08-20 14:59:32 -06:00
[connection signal="pressed" from="CenterContainer/HBoxContainer/QuitButton" to="." method="quit"]