Volume Sliders

This commit is contained in:
Marco 2025-03-17 11:43:11 +01:00
commit c75d9d226f
19 changed files with 257 additions and 49 deletions

View file

@ -20,9 +20,9 @@
[ext_resource type="Resource" uid="uid://byo74ews118nl" path="res://Resources/Music/No_Reason.tres" id="13_fh7cp"]
[ext_resource type="FontFile" uid="uid://cyk27h5aox1n7" path="res://fonts/sector_034.ttf" id="14_yxkem"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ljnfb"]
[sub_resource type="AtlasTexture" id="AtlasTexture_hbsma"]
atlas = ExtResource("9_riqfo")
region = Rect2(128, 0, 32, 16)
region = Rect2(192, 0, 32, 16)
[sub_resource type="Theme" id="Theme_c7h4d"]
@ -67,7 +67,7 @@ offset_top = 40.995
offset_right = 186.42
offset_bottom = 56.995
rotation = 3.14159
texture = SubResource("AtlasTexture_ljnfb")
texture = SubResource("AtlasTexture_hbsma")
[node name="MarginContainer" type="MarginContainer" parent="."]
anchors_preset = 15
@ -203,14 +203,16 @@ text = "Credits"
[node name="AudioStreamPlayer2D" parent="." instance=ExtResource("8_koqhg")]
stream = ExtResource("4_i6ku4")
autoplay = true
bus = &"Music"
MusicData = ExtResource("13_fh7cp")
[node name="SubMenuContainer" type="PanelContainer" parent="."]
visible = false
offset_left = 13.0
offset_top = 23.0
offset_right = 312.0
offset_bottom = 156.0
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("7_rrcx7")
[connection signal="pressed" from="MarginContainer/GridContainer/GameButtons/StartButton" to="." method="_on_start_button_pressed"]