diff --git a/assets/audio/main.mp3.import b/assets/audio/main.mp3.import index 2574500..3804858 100644 --- a/assets/audio/main.mp3.import +++ b/assets/audio/main.mp3.import @@ -12,8 +12,8 @@ dest_files=["res://.godot/imported/main.mp3-c46db6e147d57850afffd45a8e1df9b5.mp3 [params] -loop=false -loop_offset=0 -bpm=0 +loop=true +loop_offset=0.0 +bpm=0.0 beat_count=0 bar_beats=4 diff --git a/assets/audio/select-stage.mp3 b/assets/audio/select-stage.mp3 new file mode 100644 index 0000000..69d9ca3 Binary files /dev/null and b/assets/audio/select-stage.mp3 differ diff --git a/assets/audio/select-stage.mp3.import b/assets/audio/select-stage.mp3.import new file mode 100644 index 0000000..81ed057 --- /dev/null +++ b/assets/audio/select-stage.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://dwm10m707ygyb" +path="res://.godot/imported/select-stage.mp3-4a8f52d83bc1e327b9d596c0c514dcac.mp3str" + +[deps] + +source_file="res://assets/audio/select-stage.mp3" +dest_files=["res://.godot/imported/select-stage.mp3-4a8f52d83bc1e327b9d596c0c514dcac.mp3str"] + +[params] + +loop=true +loop_offset=0.0 +bpm=0.0 +beat_count=0 +bar_beats=4 diff --git a/scenes/ui/select_stage.tscn b/scenes/ui/select_stage.tscn index 8d6fc94..f038ff4 100644 --- a/scenes/ui/select_stage.tscn +++ b/scenes/ui/select_stage.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=11 format=3 uid="uid://cwf2fhvjfq7xg"] +[gd_scene load_steps=12 format=3 uid="uid://cwf2fhvjfq7xg"] [ext_resource type="Script" path="res://scripts/ui/select_stage.gd" id="1_t86bq"] [ext_resource type="Theme" uid="uid://bt3yyqwlp4f7j" path="res://themes/title_text.tres" id="2_gqow0"] @@ -10,6 +10,7 @@ [ext_resource type="Texture2D" uid="uid://cushhcqgpt2wi" path="res://assets/backgrounds/stage-4.png" id="8_jnehq"] [ext_resource type="Texture2D" uid="uid://dflfg140pfdfj" path="res://assets/backgrounds/stage-5.png" id="9_jt253"] [ext_resource type="Texture2D" uid="uid://cvw4fruerjwk6" path="res://assets/backgrounds/stage-6.png" id="10_xmmdy"] +[ext_resource type="AudioStream" uid="uid://dwm10m707ygyb" path="res://assets/audio/select-stage.mp3" id="11_1rv5g"] [node name="SelectStage" type="Control"] layout_mode = 3 @@ -212,6 +213,11 @@ stretch_mode = 5 layout_mode = 2 text = "6" +[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +stream = ExtResource("11_1rv5g") +volume_db = 1.0 +autoplay = true + [connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/Back" to="." method="_on_back_pressed"] [connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer/Stage 1" to="." method="_on_stage_1_pressed"] [connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/HBoxContainer2/MarginContainer2/Stage 2" to="." method="_on_stage_2_pressed"]