diff --git a/assets/Audio/Background.mmpz b/assets/Audio/Background.mmpz new file mode 100644 index 0000000..5804155 Binary files /dev/null and b/assets/Audio/Background.mmpz differ diff --git a/assets/Audio/Background.mmpz.bak b/assets/Audio/Background.mmpz.bak new file mode 100644 index 0000000..518da76 Binary files /dev/null and b/assets/Audio/Background.mmpz.bak differ diff --git a/assets/Audio/Background.wav b/assets/Audio/Background.wav new file mode 100644 index 0000000..34a356d Binary files /dev/null and b/assets/Audio/Background.wav differ diff --git a/assets/Audio/Background.wav.import b/assets/Audio/Background.wav.import new file mode 100644 index 0000000..9f0b284 --- /dev/null +++ b/assets/Audio/Background.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://tf3d2uu84gf1" +path="res://.godot/imported/Background.wav-d1040151d85eac8c6cf345fa6173b96f.sample" + +[deps] + +source_file="res://assets/Audio/Background.wav" +dest_files=["res://.godot/imported/Background.wav-d1040151d85eac8c6cf345fa6173b96f.sample"] + +[params] + +force/8_bit=false +force/mono=true +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=2 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/scenes/Grid/grid.tscn b/scenes/Grid/grid.tscn index 269513a..14c9adb 100644 --- a/scenes/Grid/grid.tscn +++ b/scenes/Grid/grid.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=20 format=3 uid="uid://dwl4lotl1d3ij"] +[gd_scene load_steps=21 format=3 uid="uid://dwl4lotl1d3ij"] [ext_resource type="Script" path="res://scenes/Grid/grid.gd" id="1_vie5m"] [ext_resource type="Texture2D" uid="uid://cj6fsj1ac11a1" path="res://assets/background.png" id="2_vakrw"] @@ -15,6 +15,7 @@ [ext_resource type="Texture2D" uid="uid://ct4dkk00pyv6v" path="res://assets/Buttons/RotationLeft.png" id="12_qk3ju"] [ext_resource type="Texture2D" uid="uid://5gbnb7gtwww3" path="res://assets/Buttons/RotationRight.png" id="13_kls78"] [ext_resource type="Texture2D" uid="uid://cevua7g7nsrfj" path="res://assets/Buttons/DownArrow.png" id="14_i1yud"] +[ext_resource type="AudioStream" uid="uid://tf3d2uu84gf1" path="res://assets/Audio/Background.wav" id="16_ng6e7"] [sub_resource type="QuadMesh" id="QuadMesh_qfjsc"] @@ -286,6 +287,11 @@ icon_alignment = 1 position = Vector2(320, 640) scale = Vector2(10, 20) +[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource("16_ng6e7") +volume_db = 5.0 +autoplay = true + [connection signal="timeout" from="Ticker" to="." method="_on_ticker_timeout"] [connection signal="timeout" from="TurnTick" to="." method="_on_turn_tick_timeout"] [connection signal="timeout" from="GameTimer" to="." method="_on_game_timer_timeout"]