diff --git a/MainLogic.gd b/MainLogic.gd index e37a4c6..ebda33c 100644 --- a/MainLogic.gd +++ b/MainLogic.gd @@ -170,6 +170,17 @@ func _process(delta): lower_label.text = "Arrow keys/WASD/Left-Stick to move." tween_text = get_tree().create_tween() tween_text.tween_property(lower_label, "self_modulate", Color(1, 1, 1, 0), 5) + tween_text.tween_callback(func(): + lower_label.text = "" + lower_label.self_modulate = Color(1, 1, 1, 1) + ) + music_file.close() + music_player.volume_db = 0.0 + music_player.stream = AudioStreamMP3.new() + music_file = FileAccess.open("res://audio/LD55_2.mp3", FileAccess.READ) + music_player.stream.data = music_file.get_buffer(music_file.get_length()) + music_player.stream.loop = true + music_player.play() StateT.Dungeon_Entrance: camera_to_gander(delta) if level_guard == null: diff --git a/audio/LD55_2.mp3 b/audio/LD55_2.mp3 new file mode 100644 index 0000000..33c236e Binary files /dev/null and b/audio/LD55_2.mp3 differ diff --git a/audio/LD55_2.mp3.import b/audio/LD55_2.mp3.import new file mode 100644 index 0000000..b005e93 --- /dev/null +++ b/audio/LD55_2.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://18u0r46uho0f" +path="res://.godot/imported/LD55_2.mp3-34aece3f1076ff4ee4a342f09742ae03.mp3str" + +[deps] + +source_file="res://audio/LD55_2.mp3" +dest_files=["res://.godot/imported/LD55_2.mp3-34aece3f1076ff4ee4a342f09742ae03.mp3str"] + +[params] + +loop=true +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/audio/LD55_3.mp3 b/audio/LD55_3.mp3 new file mode 100644 index 0000000..4cc9e64 Binary files /dev/null and b/audio/LD55_3.mp3 differ diff --git a/audio/LD55_3.mp3.import b/audio/LD55_3.mp3.import new file mode 100644 index 0000000..9cf7ce3 --- /dev/null +++ b/audio/LD55_3.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://dymc7p8pyr5y4" +path="res://.godot/imported/LD55_3.mp3-20ea91918fd2eaba4ffbeab07a2323ed.mp3str" + +[deps] + +source_file="res://audio/LD55_3.mp3" +dest_files=["res://.godot/imported/LD55_3.mp3-20ea91918fd2eaba4ffbeab07a2323ed.mp3str"] + +[params] + +loop=true +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4