updated the music banks

update a tem fix for physicsSystem
This commit is contained in:
Glence 2022-11-23 17:37:06 +08:00
parent 3dfa3c050a
commit 22972d7455
4 changed files with 6 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -5,7 +5,7 @@ public class MainMenu : Script
{
protected override void awake()
{
Audio.PlayBGMOnce2D("event:/Music/player_undetected");
Audio.PlayBGMOnce2D("event:/Music/main_menu");
}
protected override void update()
{
@ -13,10 +13,12 @@ public class MainMenu : Script
{
Audio.PlaySFXOnce2D("event:/UI/mouse_down_element");
SceneManager.ChangeScene(86098106);
Audio.StopAllSounds();
}
if (Input.GetKey(Input.KeyCode.Escape))
{
Audio.StopAllSounds();
Application.Quit();
}
}

View File

@ -140,6 +140,9 @@ namespace SHADE
}
const double FIXED_DT = physicsSystem->fixedDT;
//to be remove =======================================================
dt = std::clamp(dt, 0.0, 1.0 / 30.0);
//to be remove =======================================================
accumulatedTime += dt;
//testFunction();