diff --git a/default_bus_layout.tres b/default_bus_layout.tres new file mode 100644 index 0000000..eb4accc --- /dev/null +++ b/default_bus_layout.tres @@ -0,0 +1,3 @@ +[gd_resource type="AudioBusLayout" format=2] + +[resource] diff --git a/project.godot b/project.godot index 7b17d93..ef77dae 100644 --- a/project.godot +++ b/project.godot @@ -21,6 +21,7 @@ config/icon="res://icon.png" Global="*res://src/scripts/global.gd" Window="*res://src/scripts/window.gd" EnemyClass="*res://src/scripts/enemy_class.gd" +Music="*res://res/music/Music.tscn" [display] diff --git a/res/music/Music.tscn b/res/music/Music.tscn new file mode 100644 index 0000000..e050927 --- /dev/null +++ b/res/music/Music.tscn @@ -0,0 +1,7 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://res/music/spooky melody.wav" type="AudioStream" id=1] + +[node name="Music" type="AudioStreamPlayer"] +stream = ExtResource( 1 ) +autoplay = true diff --git a/res/music/spooky melody.wav b/res/music/spooky melody.wav new file mode 100644 index 0000000..b36168b Binary files /dev/null and b/res/music/spooky melody.wav differ diff --git a/res/music/spooky melody.wav.import b/res/music/spooky melody.wav.import new file mode 100644 index 0000000..4c41ab2 --- /dev/null +++ b/res/music/spooky melody.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/spooky melody.wav-69da63bca3830b1469b6305e193e4ec3.sample" + +[deps] + +source_file="res://res/music/spooky melody.wav" +dest_files=[ "res://.import/spooky melody.wav-69da63bca3830b1469b6305e193e4ec3.sample" ] + +[params] + +force/8_bit=false +force/mono=false +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