summaryrefslogtreecommitdiff
path: root/scenes/pausemenu.tscn
blob: e23e95c012bd96796fe8b8f7680d6f6e6cf02194 (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
[gd_scene load_steps=11 format=2]

[ext_resource path="res://scripts/pausemenu.gd" type="Script" id=1]
[ext_resource path="res://textures/options_hover.png" type="Texture" id=2]
[ext_resource path="res://textures/options.png" type="Texture" id=3]
[ext_resource path="res://textures/retry_hover.png" type="Texture" id=4]
[ext_resource path="res://textures/retry.png" type="Texture" id=5]
[ext_resource path="res://textures/quit_hover.png" type="Texture" id=6]
[ext_resource path="res://textures/quit.png" type="Texture" id=7]
[ext_resource path="res://textures/help.png" type="Texture" id=8]
[ext_resource path="res://textures/help_hover.png" type="Texture" id=9]
[ext_resource path="res://theme_data/interface_theme.tres" type="Theme" id=10]

[node name="PauseMenu" type="Control"]
margin_right = 214.0
margin_bottom = 120.0
theme = ExtResource( 10 )
script = ExtResource( 1 )

[node name="ColorRect" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 0.54902 )
__meta__ = {
"_edit_use_anchors_": true
}

[node name="Panel" type="Panel" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -43.0
margin_top = -26.0
margin_right = 43.0
margin_bottom = 13.0

[node name="HoverLabel" type="Label" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -38.0
margin_top = -25.0
margin_right = 38.0
margin_bottom = -9.0
text = "PAUSED"
align = 1
valign = 1

[node name="HBoxContainer" type="HBoxContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -38.0
margin_top = -8.0
margin_right = 38.0
margin_bottom = 8.0

[node name="RestartButton" type="TextureButton" parent="HBoxContainer"]
margin_right = 16.0
margin_bottom = 16.0
texture_normal = ExtResource( 5 )
texture_hover = ExtResource( 4 )

[node name="OptionsButton" type="TextureButton" parent="HBoxContainer"]
margin_left = 20.0
margin_right = 36.0
margin_bottom = 16.0
texture_normal = ExtResource( 3 )
texture_hover = ExtResource( 2 )

[node name="HelpButton" type="TextureButton" parent="HBoxContainer"]
margin_left = 40.0
margin_right = 56.0
margin_bottom = 16.0
texture_normal = ExtResource( 8 )
texture_hover = ExtResource( 9 )

[node name="QuitButton" type="TextureButton" parent="HBoxContainer"]
margin_left = 60.0
margin_right = 76.0
margin_bottom = 16.0
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"]