Fix up audio issue and resolve errors in godot log

Replace label style settings with new fonts, need to resolve stretching issue still
This commit is contained in:
2025-09-11 21:15:56 -07:00
parent 6e6d5e5edc
commit 92e9351766
12 changed files with 36 additions and 92 deletions

View File

@@ -5,6 +5,7 @@ using Godot;
using System.Linq;
using System.Threading.Tasks;
using Zennysoft.Ma.Adapter;
using static Zennysoft.Game.Ma.AudioManager;
namespace Zennysoft.Game.Ma;
@@ -177,8 +178,8 @@ public partial class InventoryMenu : Control, IInventoryMenu
Player.Stats.CurrentLevel.Sync -= CurrentLevel_Sync;
Player.Stats.BonusAttack.Sync -= BonusAttack_Sync;
Player.Stats.BonusDefense.Sync -= BonusDefense_Sync;
_gameRepo.CloseInventory();
Autoload.AudioManager.Play(SoundEffect.Cancel);
_gameRepo.CloseInventory();
}
}

View File

@@ -1,8 +1,8 @@
[gd_resource type="LabelSettings" load_steps=2 format=3 uid="uid://bqdq5r46uduvd"]
[ext_resource type="FontFile" uid="uid://dit3vylt7hmmx" path="res://src/ui/fonts/FT88-Regular.ttf" id="1_gld51"]
[ext_resource type="FontFile" uid="uid://duu4matpexcq4" path="res://src/ui/fonts/LSANS.TTF" id="1_kxooq"]
[resource]
font = ExtResource("1_gld51")
font = ExtResource("1_kxooq")
font_size = 24
font_color = Color(0.737255, 0.705882, 0.690196, 1)

View File

@@ -1,8 +1,8 @@
[gd_resource type="LabelSettings" load_steps=2 format=3 uid="uid://ckvxvx2tiwttt"]
[ext_resource type="FontFile" uid="uid://cb41qqmxqurj8" path="res://src/ui/fonts/FT88-Bold.ttf" id="1_roceg"]
[ext_resource type="FontFile" uid="uid://ddvfnyovqnvew" path="res://src/ui/fonts/LSANSI.TTF" id="1_fr1ua"]
[resource]
font = ExtResource("1_roceg")
font = ExtResource("1_fr1ua")
font_size = 36
font_color = Color(1, 0.94902, 0, 1)

View File

@@ -1,8 +1,8 @@
[gd_resource type="LabelSettings" load_steps=2 format=3 uid="uid://ur3wpe2kp2j2"]
[ext_resource type="FontFile" uid="uid://cb41qqmxqurj8" path="res://src/ui/fonts/FT88-Bold.ttf" id="1_t2ic4"]
[ext_resource type="FontFile" uid="uid://duu4matpexcq4" path="res://src/ui/fonts/LSANS.TTF" id="1_jsy43"]
[resource]
font = ExtResource("1_t2ic4")
font = ExtResource("1_jsy43")
font_size = 36
font_color = Color(0, 0.682353, 0.937255, 1)

View File

@@ -1,8 +1,8 @@
[gd_resource type="LabelSettings" load_steps=2 format=3 uid="uid://c4wbba5mo7qcp"]
[ext_resource type="FontFile" uid="uid://bohbd123672ea" path="res://src/ui/fonts/FT88-Italic.ttf" id="1_ofouc"]
[ext_resource type="FontFile" uid="uid://ddvfnyovqnvew" path="res://src/ui/fonts/LSANSI.TTF" id="1_gvqi7"]
[resource]
font = ExtResource("1_ofouc")
font = ExtResource("1_gvqi7")
font_size = 36
font_color = Color(1, 0.94902, 0, 1)