Placeholder music

This commit is contained in:
2023-09-02 18:33:44 -07:00
parent 271b0ede0d
commit cff32e0fb9
5 changed files with 43 additions and 0 deletions

View File

@@ -13,6 +13,9 @@ public partial class MainMenu : Node2D
GetParent().GetNode<TextureRect>("MainMenu/UIAnimations/LoreSplash").Show();
_player = GetTree().Root.GetNode<AnimationPlayer>("/root/Main/MainMenu/UIAnimations/AnimationPlayer");
_player.Queue("IntroLore");
var bgmPlayer = GetTree().Root.GetNode<BGMPlayer>("BgmPlayer");
bgmPlayer.SetBGMFromFilepath("Audio/BGM/02 MovinOn.mp3");
bgmPlayer.PlayBGM();
}
private void OnStartButtonPressed()