-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPauseMenu.tscn
80 lines (68 loc) · 2.1 KB
/
PauseMenu.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Fonts/Retro Gaming.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://PauseMenu.gd" type="Script" id=2]
[sub_resource type="DynamicFont" id=1]
size = 40
font_data = ExtResource( 1 )
[node name="PauseMenu" type="Control"]
pause_mode = 2
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.207843, 0.243137, 0.215686, 0.752941 )
[node name="CenterContainer" type="CenterContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Node2D" type="Node2D" parent="CenterContainer"]
pause_mode = 2
position = Vector2( 785, 429 )
z_index = 2000
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/Node2D"]
margin_right = 350.0
margin_bottom = 222.0
custom_constants/separation = 19
[node name="Label" type="Label" parent="CenterContainer/Node2D/VBoxContainer"]
margin_right = 350.0
margin_bottom = 51.0
rect_min_size = Vector2( 350, 0 )
focus_mode = 2
mouse_filter = 0
size_flags_vertical = 1
custom_fonts/font = SubResource( 1 )
text = "Game paused"
align = 1
valign = 1
__meta__ = {
"_editor_description_": ""
}
[node name="Control" type="Control" parent="CenterContainer/Node2D/VBoxContainer"]
margin_top = 70.0
margin_right = 350.0
margin_bottom = 70.0
[node name="Resume" type="Button" parent="CenterContainer/Node2D/VBoxContainer"]
margin_top = 89.0
margin_right = 350.0
margin_bottom = 146.0
custom_fonts/font = SubResource( 1 )
text = "Resume"
[node name="Quit" type="Button" parent="CenterContainer/Node2D/VBoxContainer"]
margin_top = 165.0
margin_right = 350.0
margin_bottom = 222.0
custom_fonts/font = SubResource( 1 )
text = "Quit"
__meta__ = {
"_editor_description_": ""
}
[connection signal="button_up" from="CenterContainer/Node2D/VBoxContainer/Resume" to="." method="_on_Resume_button_up"]
[connection signal="button_up" from="CenterContainer/Node2D/VBoxContainer/Quit" to="." method="_on_Quit_button_up"]