|
@@ -1,11 +1,19 @@
|
|
|
-[gd_scene load_steps=6 format=3 uid="uid://cvsfngjyx7xvw"]
|
|
|
+[gd_scene load_steps=8 format=3 uid="uid://cvsfngjyx7xvw"]
|
|
|
|
|
|
[ext_resource type="Script" path="res://composants/interface/pause/pause_menu.gd" id="1_c51fd"]
|
|
|
[ext_resource type="Texture2D" uid="uid://bkupreskydgkg" path="res://composants/interface/pause/sprite.png" id="2_2pxrh"]
|
|
|
+[ext_resource type="Texture2D" uid="uid://ch6el88gkg1d3" path="res://composants/interface/pause/metalPanel.png" id="3_8ibiy"]
|
|
|
[ext_resource type="Texture2D" uid="uid://dqjikgaxapxq" path="res://composants/interface/pause/AudioStreamMP3.svg" id="3_sxlkx"]
|
|
|
[ext_resource type="Script" path="res://composants/interface/pause/bus_volume.gd" id="4_ygvs3"]
|
|
|
[ext_resource type="Texture2D" uid="uid://c1mxl4duk5m18" path="res://composants/interface/pause/AudioStreamGenerator.svg" id="5_22vgw"]
|
|
|
|
|
|
+[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_q2c6x"]
|
|
|
+texture = ExtResource("3_8ibiy")
|
|
|
+texture_margin_left = 14.0
|
|
|
+texture_margin_top = 14.0
|
|
|
+texture_margin_right = 14.0
|
|
|
+texture_margin_bottom = 14.0
|
|
|
+
|
|
|
[node name="PauseMenu" type="VSplitContainer"]
|
|
|
process_mode = 3
|
|
|
visible = false
|
|
@@ -36,21 +44,27 @@ process_mode = 2
|
|
|
layout_mode = 2
|
|
|
dragger_visibility = 2
|
|
|
|
|
|
-[node name="Boutons" type="VBoxContainer" parent="Controles"]
|
|
|
+[node name="Panel" type="PanelContainer" parent="Controles"]
|
|
|
+self_modulate = Color(0.687215, 0.687215, 0.687215, 1)
|
|
|
+layout_mode = 2
|
|
|
+size_flags_horizontal = 4
|
|
|
+theme_override_styles/panel = SubResource("StyleBoxTexture_q2c6x")
|
|
|
+
|
|
|
+[node name="Boutons" type="VBoxContainer" parent="Controles/Panel"]
|
|
|
layout_mode = 2
|
|
|
size_flags_horizontal = 4
|
|
|
size_flags_vertical = 0
|
|
|
|
|
|
-[node name="Reprendre" type="Button" parent="Controles/Boutons"]
|
|
|
+[node name="Reprendre" type="Button" parent="Controles/Panel/Boutons"]
|
|
|
unique_name_in_owner = true
|
|
|
layout_mode = 2
|
|
|
text = "Reprendre"
|
|
|
|
|
|
-[node name="RetourEcranTitre" type="Button" parent="Controles/Boutons"]
|
|
|
+[node name="RetourEcranTitre" type="Button" parent="Controles/Panel/Boutons"]
|
|
|
layout_mode = 2
|
|
|
text = "Choisir un autre niveau"
|
|
|
|
|
|
-[node name="QuitterLeJeu" type="Button" parent="Controles/Boutons"]
|
|
|
+[node name="QuitterLeJeu" type="Button" parent="Controles/Panel/Boutons"]
|
|
|
layout_mode = 2
|
|
|
text = "Quitter le jeu"
|
|
|
|
|
@@ -94,6 +108,6 @@ max_value = 0.0
|
|
|
script = ExtResource("4_ygvs3")
|
|
|
nom_bus = "Bruits"
|
|
|
|
|
|
-[connection signal="pressed" from="Controles/Boutons/Reprendre" to="." method="_quand_bouton_reprendre_est_presse"]
|
|
|
-[connection signal="pressed" from="Controles/Boutons/RetourEcranTitre" to="." method="_quand_bouton_retour_titre_est_presse"]
|
|
|
-[connection signal="pressed" from="Controles/Boutons/QuitterLeJeu" to="." method="_quand_bouton_quitter_est_presse"]
|
|
|
+[connection signal="pressed" from="Controles/Panel/Boutons/Reprendre" to="." method="_quand_bouton_reprendre_est_presse"]
|
|
|
+[connection signal="pressed" from="Controles/Panel/Boutons/RetourEcranTitre" to="." method="_quand_bouton_retour_titre_est_presse"]
|
|
|
+[connection signal="pressed" from="Controles/Panel/Boutons/QuitterLeJeu" to="." method="_quand_bouton_quitter_est_presse"]
|