|
@@ -0,0 +1,118 @@
|
|
1
|
+[gd_scene load_steps=6 format=2]
|
|
2
|
+
|
|
3
|
+[ext_resource path="res://scenes/PauseMenu.gd" type="Script" id=1]
|
|
4
|
+[ext_resource path="res://images/pause.png" type="Texture" id=2]
|
|
5
|
+[ext_resource path="res://fonts/ButtonFont.tres" type="DynamicFont" id=3]
|
|
6
|
+[ext_resource path="res://fonts/open-sans/OpenSans-Light.ttf" type="DynamicFontData" id=4]
|
|
7
|
+
|
|
8
|
+[sub_resource type="DynamicFont" id=1]
|
|
9
|
+size = 50
|
|
10
|
+font_data = ExtResource( 4 )
|
|
11
|
+
|
|
12
|
+[node name="PauseMenu" type="Control"]
|
|
13
|
+pause_mode = 2
|
|
14
|
+anchor_right = 1.0
|
|
15
|
+anchor_bottom = 1.0
|
|
16
|
+script = ExtResource( 1 )
|
|
17
|
+__meta__ = {
|
|
18
|
+"_edit_use_anchors_": false
|
|
19
|
+}
|
|
20
|
+
|
|
21
|
+[node name="Background" type="ColorRect" parent="."]
|
|
22
|
+anchor_right = 1.0
|
|
23
|
+anchor_bottom = 1.0
|
|
24
|
+color = Color( 0, 0, 0, 0.196078 )
|
|
25
|
+__meta__ = {
|
|
26
|
+"_edit_use_anchors_": false
|
|
27
|
+}
|
|
28
|
+
|
|
29
|
+[node name="BackgroundButton" type="TextureButton" parent="."]
|
|
30
|
+anchor_right = 1.0
|
|
31
|
+anchor_bottom = 1.0
|
|
32
|
+expand = true
|
|
33
|
+__meta__ = {
|
|
34
|
+"_edit_use_anchors_": false
|
|
35
|
+}
|
|
36
|
+
|
|
37
|
+[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
38
|
+anchor_right = 1.0
|
|
39
|
+anchor_bottom = 1.0
|
|
40
|
+mouse_filter = 2
|
|
41
|
+custom_constants/margin_right = 400
|
|
42
|
+custom_constants/margin_top = 100
|
|
43
|
+custom_constants/margin_left = 400
|
|
44
|
+custom_constants/margin_bottom = 100
|
|
45
|
+__meta__ = {
|
|
46
|
+"_edit_use_anchors_": false
|
|
47
|
+}
|
|
48
|
+
|
|
49
|
+[node name="ColorRect" type="ColorRect" parent="MarginContainer"]
|
|
50
|
+margin_left = 400.0
|
|
51
|
+margin_top = 100.0
|
|
52
|
+margin_right = 1520.0
|
|
53
|
+margin_bottom = 980.0
|
|
54
|
+color = Color( 0.164706, 0.180392, 0.196078, 1 )
|
|
55
|
+
|
|
56
|
+[node name="MarginContainer2" type="MarginContainer" parent="MarginContainer/ColorRect"]
|
|
57
|
+anchor_right = 1.0
|
|
58
|
+anchor_bottom = 1.0
|
|
59
|
+custom_constants/margin_right = 50
|
|
60
|
+custom_constants/margin_top = 50
|
|
61
|
+custom_constants/margin_left = 50
|
|
62
|
+custom_constants/margin_bottom = 50
|
|
63
|
+__meta__ = {
|
|
64
|
+"_edit_use_anchors_": false
|
|
65
|
+}
|
|
66
|
+
|
|
67
|
+[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/ColorRect/MarginContainer2"]
|
|
68
|
+margin_left = 50.0
|
|
69
|
+margin_top = 50.0
|
|
70
|
+margin_right = 1070.0
|
|
71
|
+margin_bottom = 830.0
|
|
72
|
+__meta__ = {
|
|
73
|
+"_edit_use_anchors_": false
|
|
74
|
+}
|
|
75
|
+
|
|
76
|
+[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/ColorRect/MarginContainer2/VBoxContainer"]
|
|
77
|
+margin_right = 1020.0
|
|
78
|
+margin_bottom = 64.0
|
|
79
|
+
|
|
80
|
+[node name="TextureRect" type="TextureRect" parent="MarginContainer/ColorRect/MarginContainer2/VBoxContainer/CenterContainer"]
|
|
81
|
+margin_left = 478.0
|
|
82
|
+margin_right = 542.0
|
|
83
|
+margin_bottom = 64.0
|
|
84
|
+texture = ExtResource( 2 )
|
|
85
|
+
|
|
86
|
+[node name="Text" type="Label" parent="MarginContainer/ColorRect/MarginContainer2/VBoxContainer"]
|
|
87
|
+margin_top = 68.0
|
|
88
|
+margin_right = 1020.0
|
|
89
|
+margin_bottom = 728.0
|
|
90
|
+size_flags_vertical = 3
|
|
91
|
+custom_fonts/font = SubResource( 1 )
|
|
92
|
+text = "Le jeu est en pause"
|
|
93
|
+align = 1
|
|
94
|
+valign = 1
|
|
95
|
+
|
|
96
|
+[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/ColorRect/MarginContainer2/VBoxContainer"]
|
|
97
|
+margin_top = 732.0
|
|
98
|
+margin_right = 1020.0
|
|
99
|
+margin_bottom = 780.0
|
|
100
|
+custom_constants/separation = 50
|
|
101
|
+alignment = 1
|
|
102
|
+
|
|
103
|
+[node name="ExitButton" type="Button" parent="MarginContainer/ColorRect/MarginContainer2/VBoxContainer/HBoxContainer"]
|
|
104
|
+margin_left = 353.0
|
|
105
|
+margin_right = 465.0
|
|
106
|
+margin_bottom = 48.0
|
|
107
|
+custom_fonts/font = ExtResource( 3 )
|
|
108
|
+text = "Quitter"
|
|
109
|
+
|
|
110
|
+[node name="ContinueButton" type="Button" parent="MarginContainer/ColorRect/MarginContainer2/VBoxContainer/HBoxContainer"]
|
|
111
|
+margin_left = 515.0
|
|
112
|
+margin_right = 666.0
|
|
113
|
+margin_bottom = 48.0
|
|
114
|
+custom_fonts/font = ExtResource( 3 )
|
|
115
|
+text = "Continuer"
|
|
116
|
+[connection signal="pressed" from="BackgroundButton" to="." method="_on_BackgroundButton_pressed"]
|
|
117
|
+[connection signal="pressed" from="MarginContainer/ColorRect/MarginContainer2/VBoxContainer/HBoxContainer/ExitButton" to="." method="_on_ExitButton_pressed"]
|
|
118
|
+[connection signal="pressed" from="MarginContainer/ColorRect/MarginContainer2/VBoxContainer/HBoxContainer/ContinueButton" to="." method="_on_ContinueButton_pressed"]
|