blob: abf2b281d207c2b2a786d712125c8202c0780fc8 (
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
|
[gd_scene load_steps=6 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]
[node name="Menu" type="Control"]
margin_right = 214.0
margin_bottom = 120.0
script = ExtResource( 1 )
[node name="ColorRect" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 0.54902 )
[node name="Label" type="Label" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -24.0
margin_right = 24.0
margin_bottom = 16.0
custom_colors/font_color_shadow = Color( 0.270588, 0.294118, 0.443137, 1 )
text = "PAUSED"
[node name="Control" type="Control" parent="."]
margin_right = 428.0
margin_bottom = 240.0
rect_scale = Vector2( 0.5, 0.5 )
[node name="HBoxContainer" type="HBoxContainer" parent="Control"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -18.0
margin_top = -38.0
margin_right = 18.0
margin_bottom = -22.0
[node name="RestartButton" type="TextureButton" parent="Control/HBoxContainer"]
margin_right = 16.0
margin_bottom = 16.0
texture_normal = ExtResource( 5 )
texture_hover = ExtResource( 4 )
[node name="OptionsButton" type="TextureButton" parent="Control/HBoxContainer"]
margin_left = 20.0
margin_right = 36.0
margin_bottom = 16.0
texture_normal = ExtResource( 3 )
texture_hover = ExtResource( 2 )
[node name="VBoxContainer" type="VBoxContainer" parent="Control"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -50.0
margin_top = -14.0
margin_right = 50.0
margin_bottom = 34.0
[node name="HelpButton" type="Button" parent="Control/VBoxContainer"]
margin_right = 100.0
margin_bottom = 22.0
disabled = true
text = "Help"
[node name="QuitButton" type="Button" parent="Control/VBoxContainer"]
margin_top = 26.0
margin_right = 100.0
margin_bottom = 48.0
text = "Quit"
[connection signal="pressed" from="Control/HBoxContainer/RestartButton" to="." method="_on_RestartButton_pressed"]
[connection signal="pressed" from="Control/HBoxContainer/OptionsButton" to="." method="_on_OptionsButton_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/HelpButton" to="." method="_on_HelpButton_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]
|