Explorar o código

:sparkles: added background music

Felix Bytow hai 10 meses
pai
achega
468ace3d11

BIN=BIN
assets/audio/the takeover and the revolution.ogg


+ 19 - 0
assets/audio/the takeover and the revolution.ogg.import

@@ -0,0 +1,19 @@
+[remap]
+
+importer="oggvorbisstr"
+type="AudioStreamOggVorbis"
+uid="uid://g62cf6gfkq3v"
+path="res://.godot/imported/the takeover and the revolution.ogg-3250c6a3971ed76420b8e6786d77eff4.oggvorbisstr"
+
+[deps]
+
+source_file="res://assets/audio/the takeover and the revolution.ogg"
+dest_files=["res://.godot/imported/the takeover and the revolution.ogg-3250c6a3971ed76420b8e6786d77eff4.oggvorbisstr"]
+
+[params]
+
+loop=true
+loop_offset=0
+bpm=125.0
+beat_count=0
+bar_beats=4

+ 10 - 0
assets/autoload/music.tscn

@@ -0,0 +1,10 @@
+[gd_scene load_steps=2 format=3 uid="uid://ci7jhghuro6i"]
+
+[ext_resource type="AudioStream" uid="uid://g62cf6gfkq3v" path="res://assets/audio/the takeover and the revolution.ogg" id="1_ev076"]
+
+[node name="Music" type="Node"]
+
+[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
+stream = ExtResource("1_ev076")
+volume_db = -10.0
+autoplay = true

+ 1 - 0
project.godot

@@ -18,6 +18,7 @@ config/features=PackedStringArray("4.2", "GL Compatibility")
 
 GlobalInput="*res://assets/autoload/global_input.gd"
 Config="*res://assets/autoload/config.gd"
+Music="*res://assets/autoload/music.tscn"
 
 [debug]