diff --git a/Zennysoft.Game.Ma/src/ui/game_over/GameOverMenu.tscn b/Zennysoft.Game.Ma/src/ui/game_over/GameOverMenu.tscn index a0561beb..24e8c402 100644 --- a/Zennysoft.Game.Ma/src/ui/game_over/GameOverMenu.tscn +++ b/Zennysoft.Game.Ma/src/ui/game_over/GameOverMenu.tscn @@ -157,7 +157,7 @@ text = "Continue" unique_name_in_owner = true process_mode = 3 layout_mode = 2 -size_flags_horizontal = 4 +size_flags_horizontal = 0 focus_neighbor_top = NodePath("../Continue") focus_neighbor_bottom = NodePath(".") focus_next = NodePath(".") @@ -176,3 +176,4 @@ theme_override_styles/pressed = ExtResource("4_byrtd") theme_override_styles/normal_mirrored = ExtResource("4_byrtd") theme_override_styles/normal = ExtResource("4_byrtd") text = "Exit" +alignment = 0 diff --git a/Zennysoft.Game.Ma/src/ui/in_game_ui/UseTeleportPrompt.cs b/Zennysoft.Game.Ma/src/ui/in_game_ui/UseTeleportPrompt.cs index a3d7518a..450f1b06 100644 --- a/Zennysoft.Game.Ma/src/ui/in_game_ui/UseTeleportPrompt.cs +++ b/Zennysoft.Game.Ma/src/ui/in_game_ui/UseTeleportPrompt.cs @@ -45,6 +45,7 @@ public partial class UseTeleportPrompt : Control, IUseTeleportPrompt { YesButton.Disabled = true; NoButton.Disabled = true; + SfxDatabase.Instance.Play(SoundEffect.SelectUI); EmitSignal(SignalName.CloseTeleportPrompt); } @@ -52,6 +53,7 @@ public partial class UseTeleportPrompt : Control, IUseTeleportPrompt { YesButton.Disabled = true; NoButton.Disabled = true; + SfxDatabase.Instance.Play(SoundEffect.SelectUI); EmitSignal(SignalName.TeleportToNextFloor); } diff --git a/Zennysoft.Game.Ma/src/ui/load_next_level/LoadNextLevel.cs b/Zennysoft.Game.Ma/src/ui/load_next_level/LoadNextLevel.cs index 10c5400e..2f080e53 100644 --- a/Zennysoft.Game.Ma/src/ui/load_next_level/LoadNextLevel.cs +++ b/Zennysoft.Game.Ma/src/ui/load_next_level/LoadNextLevel.cs @@ -71,6 +71,7 @@ public partial class LoadNextLevel : Control, IFloorClearMenu { ContinueButton.FocusMode = FocusModeEnum.None; ExitButton.FocusMode = FocusModeEnum.None; + SfxDatabase.Instance.Play(SoundEffect.SelectUI); FadeOut(); Exit?.Invoke(); } @@ -79,6 +80,7 @@ public partial class LoadNextLevel : Control, IFloorClearMenu { ContinueButton.FocusMode = FocusModeEnum.None; ExitButton.FocusMode = FocusModeEnum.None; + SfxDatabase.Instance.Play(SoundEffect.SelectUI); GoToNextFloor?.Invoke(); } diff --git a/Zennysoft.Game.Ma/src/ui/load_next_level/LoadNextLevel.tscn b/Zennysoft.Game.Ma/src/ui/load_next_level/LoadNextLevel.tscn index 01c42250..59acd4ef 100644 --- a/Zennysoft.Game.Ma/src/ui/load_next_level/LoadNextLevel.tscn +++ b/Zennysoft.Game.Ma/src/ui/load_next_level/LoadNextLevel.tscn @@ -291,6 +291,7 @@ horizontal_alignment = 2 [node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 +alignment = 1 [node name="LevelText" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"] layout_mode = 2