-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpause_menu.tscn
121 lines (98 loc) · 4.24 KB
/
pause_menu.tscn
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
[gd_scene load_steps=17 format=3 uid="uid://y6ivkgr3oc30"]
[ext_resource type="Texture2D" uid="uid://camujexa7mw5p" path="res://Assets/MenuAssets/MenuIcons.png" id="1_e5lxg"]
[ext_resource type="Script" path="res://pause_menu.gd" id="1_tmy8y"]
[ext_resource type="PackedScene" uid="uid://ddqf26n40s8ar" path="res://Scenes/OptionsMenu/options_menu.tscn" id="3_jwp6e"]
[ext_resource type="AudioStream" uid="uid://kevpg0tyfwy3" path="res://Assets/SoundDesign/MenuConfirm.wav" id="4_tynkj"]
[sub_resource type="AtlasTexture" id="AtlasTexture_8h881"]
atlas = ExtResource("1_e5lxg")
region = Rect2(80, 48, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_t0pl4"]
atlas = ExtResource("1_e5lxg")
region = Rect2(80, 64, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_gxwqw"]
atlas = ExtResource("1_e5lxg")
region = Rect2(80, 64, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_2fag5"]
atlas = ExtResource("1_e5lxg")
region = Rect2(80, 128, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_gvblj"]
atlas = ExtResource("1_e5lxg")
region = Rect2(80, 112, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_pqd7a"]
atlas = ExtResource("1_e5lxg")
region = Rect2(80, 112, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_30mc6"]
atlas = ExtResource("1_e5lxg")
region = Rect2(80, 80, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_pkkt6"]
atlas = ExtResource("1_e5lxg")
region = Rect2(80, 96, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_eru6x"]
atlas = ExtResource("1_e5lxg")
region = Rect2(80, 96, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_8ttv4"]
atlas = ExtResource("1_e5lxg")
region = Rect2(16, 80, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_itajp"]
atlas = ExtResource("1_e5lxg")
region = Rect2(16, 96, 48, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_knpac"]
atlas = ExtResource("1_e5lxg")
region = Rect2(16, 96, 48, 16)
[node name="PauseMenu" type="Control"]
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_tmy8y")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 0
offset_right = 48.0
offset_bottom = 75.0
scale = Vector2(5, 5)
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="RestartButton" type="TextureButton" parent="MarginContainer/VBoxContainer"]
texture_filter = 1
layout_mode = 2
texture_normal = SubResource("AtlasTexture_8h881")
texture_pressed = SubResource("AtlasTexture_t0pl4")
texture_hover = SubResource("AtlasTexture_gxwqw")
[node name="LoadoutButton" type="TextureButton" parent="MarginContainer/VBoxContainer"]
texture_filter = 1
layout_mode = 2
texture_normal = SubResource("AtlasTexture_2fag5")
texture_pressed = SubResource("AtlasTexture_gvblj")
texture_hover = SubResource("AtlasTexture_pqd7a")
[node name="OptionsButton" type="TextureButton" parent="MarginContainer/VBoxContainer"]
texture_filter = 1
layout_mode = 2
toggle_mode = true
texture_normal = SubResource("AtlasTexture_30mc6")
texture_pressed = SubResource("AtlasTexture_pkkt6")
texture_hover = SubResource("AtlasTexture_eru6x")
[node name="Quit Button" type="TextureButton" parent="MarginContainer/VBoxContainer"]
texture_filter = 1
layout_mode = 2
texture_normal = SubResource("AtlasTexture_8ttv4")
texture_pressed = SubResource("AtlasTexture_itajp")
texture_hover = SubResource("AtlasTexture_knpac")
[node name="OptionsMenu" parent="." instance=ExtResource("3_jwp6e")]
process_mode = 3
top_level = true
layout_mode = 2
offset_left = 268.0
offset_top = 3.0
offset_right = 877.0
offset_bottom = 468.0
[node name="PauseMenuSfx" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_tynkj")
volume_db = -20.28
bus = &"SFX"
[connection signal="pressed" from="MarginContainer/VBoxContainer/RestartButton" to="." method="_on_restart_button_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/LoadoutButton" to="." method="_on_loadout_button_pressed"]
[connection signal="toggled" from="MarginContainer/VBoxContainer/OptionsButton" to="." method="_on_options_button_toggled"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Quit Button" to="." method="_on_quit_button_pressed"]