|
@@ -1,8 +1,9 @@
|
|
|
-[gd_scene load_steps=4 format=3 uid="uid://cvsfngjyx7xvw"]
|
|
|
+[gd_scene load_steps=5 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"]
|
|
|
process_mode = 3
|
|
@@ -53,15 +54,19 @@ layout_mode = 2
|
|
|
size_flags_horizontal = 3
|
|
|
min_value = -60.0
|
|
|
max_value = 0.0
|
|
|
+script = ExtResource("4_ygvs3")
|
|
|
+nom_bus = "Musique"
|
|
|
|
|
|
[node name="Bruits" type="HSlider" parent="VSplitContainer/VolumeControl"]
|
|
|
layout_mode = 2
|
|
|
size_flags_horizontal = 3
|
|
|
min_value = -60.0
|
|
|
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="value_changed" from="VSplitContainer/VolumeControl/Musique" to="VSplitContainer/VolumeControl" method="_quand_volume_musique_change"]
|
|
|
-[connection signal="value_changed" from="VSplitContainer/VolumeControl/Bruits" to="VSplitContainer/VolumeControl" method="_quand_volume_bruits_change"]
|
|
|
+[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"]
|