Add sound effects for buff management and notifications; update scene configurations

This commit is contained in:
2025-08-23 05:09:47 +02:00
parent 9cf707945b
commit bf272b4c2f
127 changed files with 1500 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ namespace ParasiticGod.Scripts.Components;
public partial class NotificationManager : CanvasLayer
{
[Export] private PackedScene _notificationLabelScene;
[Export] private AudioStreamPlayer _sfx;
public override void _Ready()
{
@@ -26,6 +27,7 @@ public partial class NotificationManager : CanvasLayer
{
var notification = _notificationLabelScene.Instantiate<NotificationLabel>();
AddChild(notification);
_sfx?.Play();
notification.ShowNotification($"You have entered\n{ageName}!");
}
}