|
@@ -1,8 +1,7 @@
|
|
|
-[gd_scene load_steps=5 format=3 uid="uid://cvsfngjyx7xvw"]
|
|
|
+[gd_scene load_steps=4 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="Script" path="res://composants/interface/pause/volume_control.gd" id="3_5at13"]
|
|
|
[ext_resource type="Script" path="res://composants/interface/pause/bus_volume.gd" id="4_ygvs3"]
|
|
|
|
|
|
[node name="PauseMenu" type="VSplitContainer"]
|
|
@@ -23,31 +22,30 @@ texture = ExtResource("2_2pxrh")
|
|
|
stretch_mode = 3
|
|
|
|
|
|
[node name="VSplitContainer" type="VSplitContainer" parent="."]
|
|
|
+process_mode = 2
|
|
|
layout_mode = 2
|
|
|
|
|
|
-[node name="Buttons" type="VBoxContainer" parent="VSplitContainer"]
|
|
|
-process_mode = 2
|
|
|
+[node name="Boutons" type="VBoxContainer" parent="VSplitContainer"]
|
|
|
layout_mode = 2
|
|
|
size_flags_horizontal = 4
|
|
|
size_flags_vertical = 0
|
|
|
|
|
|
-[node name="Reprendre" type="Button" parent="VSplitContainer/Buttons"]
|
|
|
+[node name="Reprendre" type="Button" parent="VSplitContainer/Boutons"]
|
|
|
unique_name_in_owner = true
|
|
|
layout_mode = 2
|
|
|
text = "Reprendre"
|
|
|
|
|
|
-[node name="RetourEcranTitre" type="Button" parent="VSplitContainer/Buttons"]
|
|
|
+[node name="RetourEcranTitre" type="Button" parent="VSplitContainer/Boutons"]
|
|
|
layout_mode = 2
|
|
|
text = "Retour écran titre"
|
|
|
|
|
|
-[node name="QuitterLeJeu" type="Button" parent="VSplitContainer/Buttons"]
|
|
|
+[node name="QuitterLeJeu" type="Button" parent="VSplitContainer/Boutons"]
|
|
|
layout_mode = 2
|
|
|
text = "Quitter le jeu"
|
|
|
|
|
|
[node name="VolumeControl" type="HBoxContainer" parent="VSplitContainer"]
|
|
|
layout_mode = 2
|
|
|
size_flags_vertical = 8
|
|
|
-script = ExtResource("3_5at13")
|
|
|
|
|
|
[node name="Musique" type="HSlider" parent="VSplitContainer/VolumeControl"]
|
|
|
layout_mode = 2
|
|
@@ -65,8 +63,6 @@ max_value = 0.0
|
|
|
script = ExtResource("4_ygvs3")
|
|
|
nom_bus = "Bruits"
|
|
|
|
|
|
-[connection signal="pressed" from="VSplitContainer/Buttons/Reprendre" to="." method="_quand_bouton_reprendre_est_presse"]
|
|
|
-[connection signal="pressed" from="VSplitContainer/Buttons/RetourEcranTitre" to="." method="_quand_bouton_retour_titre_est_presse"]
|
|
|
-[connection signal="pressed" from="VSplitContainer/Buttons/QuitterLeJeu" to="." method="_quand_bouton_quitter_est_presse"]
|
|
|
-[connection signal="volume_change" from="VSplitContainer/VolumeControl/Musique" to="VSplitContainer/VolumeControl" method="_quand_volume_change"]
|
|
|
-[connection signal="volume_change" from="VSplitContainer/VolumeControl/Bruits" to="VSplitContainer/VolumeControl" method="_quand_volume_change"]
|
|
|
+[connection signal="pressed" from="VSplitContainer/Boutons/Reprendre" to="." method="_quand_bouton_reprendre_est_presse"]
|
|
|
+[connection signal="pressed" from="VSplitContainer/Boutons/RetourEcranTitre" to="." method="_quand_bouton_retour_titre_est_presse"]
|
|
|
+[connection signal="pressed" from="VSplitContainer/Boutons/QuitterLeJeu" to="." method="_quand_bouton_quitter_est_presse"]
|