summaryrefslogtreecommitdiff
path: root/scenes/pausemenu.tscn
blob: 60fae1a10f1bf61463338d2a1867d987465b9118 (plain)
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
[gd_scene load_steps=11 format=3 uid="uid://dgeurb05rmq88"]

[ext_resource type="Script" path="res://scripts/pausemenu.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://b4ywdgjr33qbm" path="res://textures/options_hover.png" id="2"]
[ext_resource type="Texture2D" uid="uid://c1lg2y0602jok" path="res://textures/options.png" id="3"]
[ext_resource type="Texture2D" uid="uid://cyk45edx4rokj" path="res://textures/retry_hover.png" id="4"]
[ext_resource type="Texture2D" uid="uid://byumgtet2e552" path="res://textures/retry.png" id="5"]
[ext_resource type="Texture2D" uid="uid://c1fq67yw20je5" path="res://textures/quit_hover.png" id="6"]
[ext_resource type="Texture2D" uid="uid://cvwyjpoqfsdc4" path="res://textures/quit.png" id="7"]
[ext_resource type="Texture2D" uid="uid://bjun0ox7x2xmh" path="res://textures/help.png" id="8"]
[ext_resource type="Texture2D" uid="uid://dkb835ytdw7j7" path="res://textures/help_hover.png" id="9"]
[ext_resource type="Theme" uid="uid://2jc1rrh032m0" path="res://theme_data/interface_theme.tres" id="10"]

[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
theme = ExtResource("10")
script = ExtResource("1")

[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.54902)

[node name="Panel" type="Panel" parent="."]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -43.0
offset_top = -26.0
offset_right = 43.0
offset_bottom = 13.0

[node name="HoverLabel" type="Label" parent="."]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -38.0
offset_top = -25.0
offset_right = 38.0
offset_bottom = -9.0
text = "PAUSED"
horizontal_alignment = 1

[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -38.0
offset_top = -8.0
offset_right = 38.0
offset_bottom = 8.0

[node name="RestartButton" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("5")
texture_hover = ExtResource("4")

[node name="OptionsButton" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("3")
texture_hover = ExtResource("2")

[node name="HelpButton" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("8")
texture_hover = ExtResource("9")

[node name="QuitButton" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("7")
texture_hover = ExtResource("6")

[connection signal="mouse_entered" from="ColorRect" to="." method="_on_ColorRect_mouse_entered"]
[connection signal="mouse_entered" from="Panel" to="." method="_on_Panel_mouse_entered"]
[connection signal="mouse_entered" from="HBoxContainer/RestartButton" to="." method="_on_RestartButton_mouse_entered"]
[connection signal="pressed" from="HBoxContainer/RestartButton" to="." method="_on_RestartButton_pressed"]
[connection signal="mouse_entered" from="HBoxContainer/OptionsButton" to="." method="_on_OptionsButton_mouse_entered"]
[connection signal="pressed" from="HBoxContainer/OptionsButton" to="." method="_on_OptionsButton_pressed"]
[connection signal="mouse_entered" from="HBoxContainer/HelpButton" to="." method="_on_HelpButton_mouse_entered"]
[connection signal="pressed" from="HBoxContainer/HelpButton" to="." method="_on_HelpButton_pressed"]
[connection signal="mouse_entered" from="HBoxContainer/QuitButton" to="." method="_on_QuitButton_mouse_entered"]
[connection signal="pressed" from="HBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]