Re-import bgm as ogg, fix teleport bug (hopefully)

This commit is contained in:
2023-09-08 08:56:44 -07:00
parent 4309111382
commit 9256c0a09e
31 changed files with 202 additions and 130 deletions

View File

@@ -17,7 +17,7 @@ public partial class GameOverService : Control
{
Show();
var bgmPlayer = GetTree().Root.GetNode<BGMPlayer>("BgmPlayer");
bgmPlayer.SetBGMFromFilepath("Audio/BGM/GameOverTheme.wav");
bgmPlayer.SetBGMFromFilepath("Audio/BGM/GameOverTheme.ogg");
bgmPlayer.PlayBGM();
foreach (var player in players)
{

View File

@@ -13,7 +13,7 @@ public partial class MainMenu : Node2D
_animationPlayer = GetTree().Root.GetNode<AnimationPlayer>("/root/Main/MainMenu/UIAnimations/AnimationPlayer");
_animationPlayer.Queue("IntroLore");
var bgmPlayer = GetTree().Root.GetNode<BGMPlayer>("BgmPlayer");
bgmPlayer.SetBGMFromFilepath("Audio/BGM/TitleTheme.wav");
bgmPlayer.SetBGMFromFilepath("Audio/BGM/TitleTheme.ogg");
bgmPlayer.PlayBGM();
}