-
Notifications
You must be signed in to change notification settings - Fork 313
Expand file tree
/
Copy pathpause_overlay.tscn
More file actions
134 lines (115 loc) · 5.37 KB
/
pause_overlay.tscn
File metadata and controls
134 lines (115 loc) · 5.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[gd_scene format=3 uid="uid://bo2gd4sehdugm"]
[ext_resource type="Script" uid="uid://y88qplkioj1q" path="res://scenes/globals/pause/pause_overlay.gd" id="1_lf64b"]
[ext_resource type="Texture2D" uid="uid://lg5dl13njsg3" path="res://assets/first_party/tiles/Grass_And_Sand_Tiles.png" id="2_1tcw0"]
[ext_resource type="Theme" uid="uid://cvitou84ni7qe" path="res://scenes/ui_elements/components/theme.tres" id="2_sd5t1"]
[ext_resource type="PackedScene" uid="uid://dkeb0yjgcfi86" path="res://scenes/menus/options/options.tscn" id="3_sd5t1"]
[ext_resource type="PackedScene" uid="uid://fdedj5gjhhh3" path="res://scenes/ui_elements/inventory/inventory.tscn" id="4_inv"]
[ext_resource type="PackedScene" uid="uid://56ja3m4283wa" path="res://scenes/menus/debug/debug_settings.tscn" id="5_ai8ue"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1tcw0"]
[node name="PauseOverlay" type="CanvasLayer" unique_id=102598744]
process_mode = 3
layer = 2
script = ExtResource("1_lf64b")
title_scene = "uid://stdqc6ttomff"
frays_end = "uid://cufkthb25mpxy"
[node name="FabricBackground" type="NinePatchRect" parent="." unique_id=37882440]
modulate = Color(1, 1, 1, 0.498039)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_1tcw0")
region_rect = Rect2(384, 64, 64, 64)
axis_stretch_horizontal = 1
axis_stretch_vertical = 1
[node name="TabContainer" type="TabContainer" parent="." unique_id=877845808]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -237.0
offset_top = -183.0
offset_right = 237.0
offset_bottom = 183.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_1tcw0")
current_tab = 0
tabs_visible = false
[node name="PauseMenu" type="PanelContainer" parent="TabContainer" unique_id=158909332]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("2_sd5t1")
metadata/_tab_index = 0
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/PauseMenu" unique_id=113544093]
layout_mode = 2
[node name="PanelContainer" type="PanelContainer" parent="TabContainer/PauseMenu/VBoxContainer" unique_id=1739655898]
layout_mode = 2
size_flags_horizontal = 4
theme_type_variation = &"PlayerRibbon"
[node name="Label" type="Label" parent="TabContainer/PauseMenu/VBoxContainer/PanelContainer" unique_id=502033901]
layout_mode = 2
text = "Game Paused"
[node name="ResumeButton" type="Button" parent="TabContainer/PauseMenu/VBoxContainer" unique_id=1399677178]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_type_variation = &"FlatButton"
text = "Resume"
[node name="InventoryButton" type="Button" parent="TabContainer/PauseMenu/VBoxContainer" unique_id=551488208]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_type_variation = &"FlatButton"
text = "Inventory"
[node name="AbandonQuestButton" type="Button" parent="TabContainer/PauseMenu/VBoxContainer" unique_id=1859424584]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_type_variation = &"FlatButton"
text = "Abandon Quest"
[node name="OptionsButton" type="Button" parent="TabContainer/PauseMenu/VBoxContainer" unique_id=117724427]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_type_variation = &"FlatButton"
text = "Options"
[node name="DebugButton" type="Button" parent="TabContainer/PauseMenu/VBoxContainer" unique_id=75453807]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_type_variation = &"FlatButton"
text = "Debug Settings"
[node name="TitleScreenButton" type="Button" parent="TabContainer/PauseMenu/VBoxContainer" unique_id=830702640]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_type_variation = &"FlatButton"
text = "Exit to Title"
[node name="Inventory" parent="TabContainer" unique_id=1305017818 instance=ExtResource("4_inv")]
unique_name_in_owner = true
process_mode = 2
visible = false
layout_mode = 2
metadata/_tab_index = 1
[node name="Options" parent="TabContainer" unique_id=2078715393 instance=ExtResource("3_sd5t1")]
unique_name_in_owner = true
process_mode = 2
visible = false
layout_mode = 2
metadata/_tab_index = 2
[node name="DebugSettings" parent="TabContainer" unique_id=1197092088 instance=ExtResource("5_ai8ue")]
visible = false
layout_mode = 2
metadata/_tab_index = 3
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"]
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/InventoryButton" to="." method="_on_inventory_button_pressed"]
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/AbandonQuestButton" to="." method="_on_abandon_quest_pressed"]
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/OptionsButton" to="." method="_on_options_button_pressed"]
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/DebugButton" to="TabContainer/DebugSettings" method="show"]
[connection signal="pressed" from="TabContainer/PauseMenu/VBoxContainer/TitleScreenButton" to="." method="_on_title_screen_button_pressed"]
[connection signal="back" from="TabContainer/Inventory" to="." method="_on_inventory_back"]
[connection signal="back" from="TabContainer/Options" to="." method="_on_options_back"]
[connection signal="back" from="TabContainer/DebugSettings" to="." method="_on_options_back"]