-
Notifications
You must be signed in to change notification settings - Fork 1
/
PauseMenu.tscn
117 lines (102 loc) · 3.22 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[gd_scene load_steps=12 format=2]
[ext_resource path="res://PauseMenu.gd" type="Script" id=1]
[ext_resource path="res://Assets/fonts/MariaElisasHand.ttf" type="DynamicFontData" id=2]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 1, 0.470588, 0, 1 )
corner_radius_top_left = 20
corner_radius_top_right = 20
corner_radius_bottom_right = 20
corner_radius_bottom_left = 20
[sub_resource type="DynamicFont" id=2]
size = 48
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 2 )
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0.194458, 0.460938, 0.356945, 1 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id=4]
bg_color = Color( 0.105957, 0.875, 0.574886, 1 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 0.117647, 0.278431, 0.215686, 1 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="DynamicFont" id=6]
size = 28
font_data = ExtResource( 2 )
[sub_resource type="StyleBoxFlat" id=7]
bg_color = Color( 0.628906, 0, 0, 1 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id=8]
bg_color = Color( 0.925781, 0, 0, 1 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id=9]
bg_color = Color( 0.458824, 0, 0, 1 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[node name="PauseMenu" type="Panel"]
pause_mode = 2
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -240.0
margin_top = -180.0
margin_right = 240.0
margin_bottom = 180.0
custom_styles/panel = SubResource( 1 )
script = ExtResource( 1 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 35.0
margin_top = 35.0
margin_right = -35.0
margin_bottom = -35.0
[node name="Title" type="Label" parent="VBoxContainer"]
margin_right = 410.0
margin_bottom = 141.0
size_flags_vertical = 7
size_flags_stretch_ratio = 2.0
custom_fonts/font = SubResource( 2 )
text = "Game Paused"
align = 1
valign = 1
[node name="Continue" type="Button" parent="VBoxContainer"]
margin_top = 145.0
margin_right = 410.0
margin_bottom = 215.0
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/normal = SubResource( 5 )
custom_fonts/font = SubResource( 6 )
text = "Lanjut"
[node name="Quit" type="Button" parent="VBoxContainer"]
margin_top = 219.0
margin_right = 410.0
margin_bottom = 290.0
size_flags_vertical = 3
custom_styles/hover = SubResource( 7 )
custom_styles/pressed = SubResource( 8 )
custom_styles/normal = SubResource( 9 )
custom_fonts/font = SubResource( 6 )
text = "Keluar"
[connection signal="pressed" from="VBoxContainer/Continue" to="." method="_on_Continue_pressed"]
[connection signal="pressed" from="VBoxContainer/Quit" to="." method="_on_Quit_pressed"]