-
Notifications
You must be signed in to change notification settings - Fork 0
/
pause_menu.tscn
72 lines (62 loc) · 1.66 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
[gd_scene load_steps=3 format=3 uid="uid://bec0qit6goqed"]
[ext_resource type="Theme" uid="uid://bualmukdvu5j3" path="res://pixel.tres" id="1_ksy3q"]
[ext_resource type="Script" path="res://PauseMenu.cs" id="2_6gshl"]
[node name="PauseMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_ksy3q")
script = ExtResource("2_6gshl")
[node name="Background" 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, 1)
[node name="Title" type="Label" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -198.0
offset_top = 30.0
offset_right = 198.0
offset_bottom = 174.0
grow_horizontal = 2
theme_override_font_sizes/font_size = 100
text = "Game Paused"
[node name="Buttons" type="BoxContainer" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -195.0
offset_top = -248.0
offset_right = 195.0
offset_bottom = -96.0
grow_horizontal = 2
grow_vertical = 0
vertical = true
[node name="Resume" type="Label" parent="Buttons"]
layout_mode = 2
text = "Resume"
horizontal_alignment = 1
[node name="Back" type="Label" parent="Buttons"]
layout_mode = 2
text = "Back to main menu"
horizontal_alignment = 1
[node name="Exit" type="Label" parent="Buttons"]
layout_mode = 2
text = "Exit game"
horizontal_alignment = 1
[node name="Timer" type="Timer" parent="."]
wait_time = 0.15
one_shot = true
[connection signal="timeout" from="Timer" to="." method="OnTimerTimeout"]