|
@@ -1,8 +1,10 @@
|
|
|
-[gd_scene load_steps=4 format=3 uid="uid://cvsfngjyx7xvw"]
|
|
|
+[gd_scene load_steps=6 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://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"]
|
|
|
|
|
|
[node name="PauseMenu" type="VSplitContainer"]
|
|
|
process_mode = 3
|
|
@@ -56,35 +58,35 @@ text = "Quitter le jeu"
|
|
|
layout_mode = 2
|
|
|
size_flags_vertical = 8
|
|
|
|
|
|
-[node name="ControleMusique" type="VBoxContainer" parent="Controles/VolumeControle"]
|
|
|
+[node name="IconeMusique" type="TextureRect" parent="Controles/VolumeControle"]
|
|
|
+custom_minimum_size = Vector2(20, 0)
|
|
|
layout_mode = 2
|
|
|
-size_flags_horizontal = 3
|
|
|
-
|
|
|
-[node name="EtiquetteMusique" type="Label" parent="Controles/VolumeControle/ControleMusique"]
|
|
|
-layout_mode = 2
|
|
|
-text = "Musique"
|
|
|
-horizontal_alignment = 1
|
|
|
+texture = ExtResource("3_sxlkx")
|
|
|
+stretch_mode = 3
|
|
|
|
|
|
-[node name="CurseurMusique" type="HSlider" parent="Controles/VolumeControle/ControleMusique"]
|
|
|
+[node name="CurseurMusique" type="HSlider" parent="Controles/VolumeControle"]
|
|
|
layout_mode = 2
|
|
|
size_flags_horizontal = 3
|
|
|
+tooltip_text = "Volume de la musique."
|
|
|
min_value = -60.0
|
|
|
max_value = 0.0
|
|
|
script = ExtResource("4_ygvs3")
|
|
|
nom_bus = "Musique"
|
|
|
|
|
|
-[node name="ControleBruits" type="VBoxContainer" parent="Controles/VolumeControle"]
|
|
|
+[node name="SeparateurSliders" type="VSeparator" parent="Controles/VolumeControle"]
|
|
|
+custom_minimum_size = Vector2(40, 0)
|
|
|
layout_mode = 2
|
|
|
-size_flags_horizontal = 3
|
|
|
|
|
|
-[node name="EtiquetteMusique" type="Label" parent="Controles/VolumeControle/ControleBruits"]
|
|
|
+[node name="IconeBruits" type="TextureRect" parent="Controles/VolumeControle"]
|
|
|
+custom_minimum_size = Vector2(20, 0)
|
|
|
layout_mode = 2
|
|
|
-text = "Bruitages"
|
|
|
-horizontal_alignment = 1
|
|
|
+texture = ExtResource("5_22vgw")
|
|
|
+stretch_mode = 3
|
|
|
|
|
|
-[node name="CurseurBruits" type="HSlider" parent="Controles/VolumeControle/ControleBruits"]
|
|
|
+[node name="CurseurBruits" type="HSlider" parent="Controles/VolumeControle"]
|
|
|
layout_mode = 2
|
|
|
size_flags_horizontal = 3
|
|
|
+tooltip_text = "Volume bruitages."
|
|
|
min_value = -60.0
|
|
|
max_value = 0.0
|
|
|
script = ExtResource("4_ygvs3")
|