106 lines
3.3 KiB
Plaintext
106 lines
3.3 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://c5c58u64opilf"]
|
|
|
|
[ext_resource type="Script" path="res://UI/EscapeMenu/EscapeMenu.gd" id="1_yglqe"]
|
|
[ext_resource type="PackedScene" uid="uid://cjc888f2cc6yj" path="res://UI/EscapeMenu/AssistMenu/AssistMenu.tscn" id="2_qu4qt"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_titty"]
|
|
content_margin_left = 4.0
|
|
content_margin_top = 4.0
|
|
content_margin_right = 4.0
|
|
content_margin_bottom = 4.0
|
|
bg_color = Color(0.223529, 0.223529, 0.223529, 1)
|
|
corner_radius_top_left = 3
|
|
corner_radius_top_right = 3
|
|
corner_radius_bottom_right = 3
|
|
corner_radius_bottom_left = 3
|
|
corner_detail = 5
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fwiss"]
|
|
content_margin_left = 4.0
|
|
content_margin_top = 4.0
|
|
content_margin_right = 4.0
|
|
content_margin_bottom = 4.0
|
|
bg_color = Color(0.101961, 0.101961, 0.101961, 1)
|
|
corner_radius_top_left = 3
|
|
corner_radius_top_right = 3
|
|
corner_radius_bottom_right = 3
|
|
corner_radius_bottom_left = 3
|
|
corner_detail = 5
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_m07n0"]
|
|
content_margin_left = 4.0
|
|
content_margin_top = 4.0
|
|
content_margin_right = 4.0
|
|
content_margin_bottom = 4.0
|
|
bg_color = Color(0, 0, 0, 1)
|
|
corner_radius_top_left = 3
|
|
corner_radius_top_right = 3
|
|
corner_radius_bottom_right = 3
|
|
corner_radius_bottom_left = 3
|
|
corner_detail = 5
|
|
|
|
[sub_resource type="Theme" id="Theme_pp1q1"]
|
|
Button/styles/hover = SubResource("StyleBoxFlat_titty")
|
|
Button/styles/normal = SubResource("StyleBoxFlat_fwiss")
|
|
Button/styles/pressed = SubResource("StyleBoxFlat_m07n0")
|
|
|
|
[node name="EscapeMenu" 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_yglqe")
|
|
|
|
[node name="EscapeMenuButtons" type="VBoxContainer" parent="."]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(350, 300)
|
|
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 = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = SubResource("Theme_pp1q1")
|
|
theme_override_constants/separation = 12
|
|
alignment = 1
|
|
|
|
[node name="Assist" type="Button" parent="EscapeMenuButtons"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 22
|
|
text = "Assist Menu"
|
|
|
|
[node name="SaveAndQuit" type="Button" parent="EscapeMenuButtons"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 22
|
|
text = "Save and Quit"
|
|
|
|
[node name="SaveAndMenu" type="Button" parent="EscapeMenuButtons"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 22
|
|
text = "Save and Quit to Main Menu"
|
|
|
|
[node name="ReturnToGame" type="Button" parent="EscapeMenuButtons"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 22
|
|
text = "Resume Game
|
|
"
|
|
|
|
[node name="AssistMenu" parent="." instance=ExtResource("2_qu4qt")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[connection signal="pressed" from="EscapeMenuButtons/Assist" to="." method="_on_assist_pressed"]
|
|
[connection signal="pressed" from="EscapeMenuButtons/SaveAndQuit" to="." method="_on_save_and_quit_pressed"]
|
|
[connection signal="pressed" from="EscapeMenuButtons/SaveAndMenu" to="." method="_on_save_and_menu_pressed"]
|
|
[connection signal="pressed" from="EscapeMenuButtons/ReturnToGame" to="." method="_on_return_to_game_pressed"]
|
|
[connection signal="close" from="AssistMenu" to="." method="_on_assist_menu_close"]
|