[gd_scene load_steps=9 format=3 uid="uid://44wla7mlivqm"] [ext_resource type="Script" uid="uid://ilp0o8f2210c" path="res://UI/menu.gd" id="1_30mo7"] [ext_resource type="FontFile" uid="uid://c1lnxul6k2adw" path="res://assest/font/vhs-gothic.ttf" id="2_6inip"] [ext_resource type="Theme" uid="uid://bn1flbuijm27d" path="res://UI/menu_button.tres" id="3_feq31"] [ext_resource type="AudioStream" uid="uid://dcp8rqog22cbk" path="res://assest/music/chaussette.ogg" id="4_0n4j1"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_46msp"] bg_color = Color(0.615845, 0.268767, 0.406544, 1) [sub_resource type="LabelSettings" id="LabelSettings_q3w7i"] line_spacing = 45.0 font = ExtResource("2_6inip") font_size = 60 [sub_resource type="LabelSettings" id="LabelSettings_i5c8e"] font_size = 30 [sub_resource type="LabelSettings" id="LabelSettings_6xvf3"] font_size = 30 [node name="Menu" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_30mo7") [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Panel" type="Panel" parent="MarginContainer"] layout_mode = 2 size_flags_stretch_ratio = 1.37 theme_override_styles/panel = SubResource("StyleBoxFlat_46msp") [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Panel"] layout_mode = 2 offset_right = 1920.0 offset_bottom = 1080.0 theme_override_constants/separation = 10 [node name="Label" type="Label" parent="MarginContainer/Panel/VBoxContainer"] layout_mode = 2 text = " Chaussette sale, le jeu! " label_settings = SubResource("LabelSettings_q3w7i") horizontal_alignment = 1 vertical_alignment = 1 [node name="Start" type="Button" parent="MarginContainer/Panel/VBoxContainer"] layout_mode = 2 theme = ExtResource("3_feq31") text = "Démarrer une nouvelle partie" [node name="LastSaveInfo" type="Label" parent="MarginContainer/Panel/VBoxContainer"] layout_mode = 2 text = "Last save" label_settings = SubResource("LabelSettings_i5c8e") horizontal_alignment = 1 [node name="Load" type="Button" parent="MarginContainer/Panel/VBoxContainer"] layout_mode = 2 theme = ExtResource("3_feq31") text = "Charger" [node name="Save" type="Button" parent="MarginContainer/Panel/VBoxContainer"] layout_mode = 2 theme = ExtResource("3_feq31") disabled = true text = "Sauvegarder" [node name="info" type="Label" parent="MarginContainer/Panel/VBoxContainer"] layout_mode = 2 label_settings = SubResource("LabelSettings_6xvf3") horizontal_alignment = 1 vertical_alignment = 3 [node name="Timer" type="Timer" parent="MarginContainer/Panel/VBoxContainer/info"] wait_time = 5.0 one_shot = true [node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/Panel"] layout_mode = 0 offset_left = 100.0 offset_top = 681.0 offset_right = 1841.0 offset_bottom = 1011.0 theme_override_constants/separation = 10 [node name="Label" type="Label" parent="MarginContainer/Panel/VBoxContainer2"] layout_mode = 2 theme = ExtResource("3_feq31") text = "Options" horizontal_alignment = 1 [node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/Panel/VBoxContainer2"] layout_mode = 2 [node name="Label2" type="Label" parent="MarginContainer/Panel/VBoxContainer2/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "volume " [node name="HSlider" type="HSlider" parent="MarginContainer/Panel/VBoxContainer2/HBoxContainer"] custom_minimum_size = Vector2(1580, 0) layout_mode = 2 min_value = -80.0 max_value = 6.0 tick_count = 5 [node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/Panel/VBoxContainer2"] layout_mode = 2 [node name="Label2" type="Label" parent="MarginContainer/Panel/VBoxContainer2/HBoxContainer2"] layout_mode = 2 size_flags_horizontal = 3 text = "Musique " [node name="HSlider" type="HSlider" parent="MarginContainer/Panel/VBoxContainer2/HBoxContainer2"] custom_minimum_size = Vector2(1580, 0) layout_mode = 2 min_value = -80.0 max_value = 6.0 tick_count = 5 [node name="HBoxContainer3" type="HBoxContainer" parent="MarginContainer/Panel/VBoxContainer2"] layout_mode = 2 [node name="Label2" type="Label" parent="MarginContainer/Panel/VBoxContainer2/HBoxContainer3"] layout_mode = 2 size_flags_horizontal = 3 text = "FX " [node name="HSlider" type="HSlider" parent="MarginContainer/Panel/VBoxContainer2/HBoxContainer3"] custom_minimum_size = Vector2(1580, 0) layout_mode = 2 min_value = -80.0 max_value = 6.0 tick_count = 5 [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = ExtResource("4_0n4j1") volume_db = -14.596 autoplay = true bus = &"Music" [connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Start" to="." method="_on_button_pressed"] [connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Load" to="." method="_on_load_pressed"] [connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Save" to="." method="_on_save_pressed"] [connection signal="timeout" from="MarginContainer/Panel/VBoxContainer/info/Timer" to="." method="_on_timer_timeout"] [connection signal="value_changed" from="MarginContainer/Panel/VBoxContainer2/HBoxContainer/HSlider" to="." method="_on_volume_slider_value_changed"] [connection signal="value_changed" from="MarginContainer/Panel/VBoxContainer2/HBoxContainer2/HSlider" to="." method="_on_musique_slider_value_changed"] [connection signal="value_changed" from="MarginContainer/Panel/VBoxContainer2/HBoxContainer3/HSlider" to="." method="_on_fx_slider_value_changed"]