Skip to content

Commit

Permalink
feat: added menu ost
Browse files Browse the repository at this point in the history
  • Loading branch information
akorzunin committed Aug 2, 2024
1 parent 0872b63 commit b9a718e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
13 changes: 12 additions & 1 deletion default_bus_layout.tres
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
[gd_resource type="AudioBusLayout" format=3 uid="uid://cq3a27o207cy2"]

[resource]
bus/0/volume_db = -11.952
bus/1/name = &"Music"
bus/1/solo = false
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = 0.0
bus/1/send = &"Master"
bus/2/name = &"sfx"
bus/2/solo = false
bus/2/mute = false
bus/2/bypass_fx = false
bus/2/volume_db = -6.57885
bus/2/send = &"Master"
23 changes: 16 additions & 7 deletions src/scenes/MainScene.tscn
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[gd_scene load_steps=9 format=3 uid="uid://bl2xm774sjmm6"]
[gd_scene load_steps=10 format=3 uid="uid://bl2xm774sjmm6"]

[ext_resource type="Script" path="res://src/scenes/init/MainScene.gd" id="1_7yre0"]
[ext_resource type="Script" path="res://src/components/GameSettings.gd" id="2_mjoy8"]
[ext_resource type="Script" path="res://src/components/settings/Config.gd" id="3_656kb"]
[ext_resource type="Script" path="res://src/components/controls/CommonControls.gd" id="3_eruj2"]
[ext_resource type="Script" path="res://src/components/sfx/SfxPlayer.gd" id="5_6wmow"]
[ext_resource type="AudioStream" uid="uid://b8ip66kri8kry" path="res://src/sfx/out/section_change.wav" id="6_ulnd2"]
[ext_resource type="AudioStream" uid="uid://dn646iheyrfla" path="res://src/sfx/out/section_select.wav" id="7_kgm0w"]
[ext_resource type="AudioStream" uid="uid://b01sx3kjtgwg0" path="res://src/sfx/out/action_select.wav" id="8_6pb6f"]
[ext_resource type="AudioStream" uid="uid://dbanyya1e6kde" path="res://assets/ost/build/section_change.wav" id="6_qd6xe"]
[ext_resource type="AudioStream" uid="uid://d238csgqeoqiu" path="res://assets/ost/build/section_select.wav" id="7_66dvc"]
[ext_resource type="AudioStream" uid="uid://dkhl2sdncv4gg" path="res://assets/ost/build/action_select.wav" id="8_kispc"]
[ext_resource type="AudioStream" uid="uid://dfrpg15jmgpg4" path="res://assets/ost/build/main_menu_theme.wav" id="9_3482d"]

[node name="MainScene" type="Node"]
script = ExtResource("1_7yre0")
Expand All @@ -32,11 +33,19 @@ unique_name_in_owner = true
script = ExtResource("5_6wmow")

[node name="SectionChanged" type="AudioStreamPlayer" parent="SfxPlayer"]
stream = ExtResource("6_ulnd2")
stream = ExtResource("6_qd6xe")
pitch_scale = 1.95
bus = &"sfx"

[node name="SectionSelect" type="AudioStreamPlayer" parent="SfxPlayer"]
stream = ExtResource("7_kgm0w")
stream = ExtResource("7_66dvc")
bus = &"sfx"

[node name="ActionSelect" type="AudioStreamPlayer" parent="SfxPlayer"]
stream = ExtResource("8_6pb6f")
stream = ExtResource("8_kispc")
bus = &"sfx"

[node name="MenuTheme" type="AudioStreamPlayer" parent="SfxPlayer"]
stream = ExtResource("9_3482d")
autoplay = true
bus = &"Music"

0 comments on commit b9a718e

Please sign in to comment.