Skip to content

Commit

Permalink
✨ Add main music
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilienLeroy committed Nov 26, 2022
1 parent d6f0062 commit b7d163a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
Binary file added assets/audios/Odyssey – jiglr.mp3
Binary file not shown.
15 changes: 15 additions & 0 deletions assets/audios/Odyssey – jiglr.mp3.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[remap]

importer="mp3"
type="AudioStreamMP3"
path="res://.import/Odyssey – jiglr.mp3-8505e627a6eeb2146a6041514ac85a2e.mp3str"

[deps]

source_file="res://assets/audios/Odyssey – jiglr.mp3"
dest_files=[ "res://.import/Odyssey – jiglr.mp3-8505e627a6eeb2146a6041514ac85a2e.mp3str" ]

[params]

loop=true
loop_offset=0
8 changes: 7 additions & 1 deletion main.tscn
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=4 format=2]

[ext_resource path="res://components/fade.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/audios/Odyssey – jiglr.mp3" type="AudioStream" id=2]
[ext_resource path="res://main.gd" type="Script" id=4]

[node name="Main" type="Node2D"]
script = ExtResource( 4 )

[node name="Fade" parent="." instance=ExtResource( 1 )]

[node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 2 )
volume_db = -15.0
autoplay = true

0 comments on commit b7d163a

Please sign in to comment.