[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/bus_volume.gd" id="4_ygvs3"] [node name="PauseMenu" type="VSplitContainer"] process_mode = 3 visible = false anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 dragger_visibility = 1 script = ExtResource("1_c51fd") [node name="Texte" type="VSplitContainer" parent="."] layout_mode = 2 dragger_visibility = 2 [node name="Label" type="Label" parent="Texte"] layout_mode = 2 text = "Bouger la raquette : souris ou ← et →" [node name="PauseTitle" type="TextureRect" parent="Texte"] custom_minimum_size = Vector2(0, 200) layout_mode = 2 texture = ExtResource("2_2pxrh") stretch_mode = 3 [node name="Controles" type="VSplitContainer" parent="."] process_mode = 2 layout_mode = 2 dragger_visibility = 2 [node name="Boutons" type="VBoxContainer" parent="Controles"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 0 [node name="Reprendre" type="Button" parent="Controles/Boutons"] unique_name_in_owner = true layout_mode = 2 text = "Reprendre" [node name="RetourEcranTitre" type="Button" parent="Controles/Boutons"] layout_mode = 2 text = "Choisir un autre niveau" [node name="QuitterLeJeu" type="Button" parent="Controles/Boutons"] layout_mode = 2 text = "Quitter le jeu" [node name="VolumeControle" type="HBoxContainer" parent="Controles"] layout_mode = 2 size_flags_vertical = 8 [node name="ControleMusique" type="VBoxContainer" parent="Controles/VolumeControle"] layout_mode = 2 size_flags_horizontal = 3 [node name="EtiquetteMusique" type="Label" parent="Controles/VolumeControle/ControleMusique"] layout_mode = 2 text = "Musique" horizontal_alignment = 1 [node name="CurseurMusique" type="HSlider" parent="Controles/VolumeControle/ControleMusique"] layout_mode = 2 size_flags_horizontal = 3 min_value = -60.0 max_value = 0.0 script = ExtResource("4_ygvs3") nom_bus = "Musique" [node name="ControleBruits" type="VBoxContainer" parent="Controles/VolumeControle"] layout_mode = 2 size_flags_horizontal = 3 [node name="EtiquetteMusique" type="Label" parent="Controles/VolumeControle/ControleBruits"] layout_mode = 2 text = "Bruitages" horizontal_alignment = 1 [node name="CurseurBruits" type="HSlider" parent="Controles/VolumeControle/ControleBruits"] layout_mode = 2 size_flags_horizontal = 3 min_value = -60.0 max_value = 0.0 script = ExtResource("4_ygvs3") nom_bus = "Bruits" [connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"] [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"]