Bug fixes and scene changes #267
Binary file not shown.
Binary file not shown.
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue