123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- [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
- z_index = 1
- 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
- size_flags_horizontal = 4
- 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="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/Panel/Boutons"]
- unique_name_in_owner = true
- layout_mode = 2
- text = "Reprendre"
- [node name="RetourEcranTitre" type="Button" parent="Controles/Panel/Boutons"]
- layout_mode = 2
- text = "Choisir un autre niveau"
- [node name="QuitterLeJeu" type="Button" parent="Controles/Panel/Boutons"]
- layout_mode = 2
- text = "Quitter le jeu"
- [node name="VolumeControle" type="HBoxContainer" parent="Controles"]
- layout_mode = 2
- size_flags_vertical = 8
- [node name="IconeMusique" type="TextureRect" parent="Controles/VolumeControle"]
- custom_minimum_size = Vector2(20, 0)
- layout_mode = 2
- texture = ExtResource("3_sxlkx")
- stretch_mode = 3
- [node name="CurseurMusique" type="HSlider" parent="Controles/VolumeControle"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "Volume de la musique."
- focus_neighbor_top = NodePath("../../Panel/Boutons/QuitterLeJeu")
- focus_neighbor_right = NodePath("../CurseurBruits")
- focus_neighbor_bottom = NodePath("../CurseurBruits")
- mouse_default_cursor_shape = 2
- min_value = -60.0
- max_value = 0.0
- script = ExtResource("4_ygvs3")
- nom_bus = "Musique"
- [node name="SeparateurSliders" type="VSeparator" parent="Controles/VolumeControle"]
- custom_minimum_size = Vector2(40, 0)
- layout_mode = 2
- [node name="IconeBruits" type="TextureRect" parent="Controles/VolumeControle"]
- custom_minimum_size = Vector2(20, 0)
- layout_mode = 2
- texture = ExtResource("5_22vgw")
- stretch_mode = 3
- [node name="CurseurBruits" type="HSlider" parent="Controles/VolumeControle"]
- layout_mode = 2
- size_flags_horizontal = 3
- tooltip_text = "Volume bruitages."
- focus_neighbor_left = NodePath("../CurseurMusique")
- focus_neighbor_top = NodePath("../../Panel/Boutons/QuitterLeJeu")
- focus_neighbor_bottom = NodePath("../CurseurMusique")
- mouse_default_cursor_shape = 2
- min_value = -60.0
- max_value = 0.0
- script = ExtResource("4_ygvs3")
- nom_bus = "Bruits"
- [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"]
|