Every card was KUNG FU FIGHTING

This commit is contained in:
journaliciouz
2025-11-19 22:56:24 +01:00
parent b75dd15614
commit 21308c339d
24 changed files with 1855 additions and 83 deletions

View File

@@ -134,7 +134,9 @@ namespace UI.CardSystem.StateMachine
public void PlayFlip(Transform cardBack, Transform cardFront, float? duration = null, Action onComplete = null)
{
float flipDuration = duration ?? _settings.FlipDuration;
// Play feedback sound
AudioManager.Instance.LoadAndPlayUIAudio("card_reveal_swoosh", false);
// Phase 1: Rotate both to 90 degrees (edge view)
if (cardBack != null)
{

View File

@@ -25,6 +25,10 @@ namespace UI.CardSystem.StateMachine.States
public override void OnEnterState()
{
// Play feedback sound
AudioManager.Instance.LoadAndPlayUIAudio("card_reveal_swoosh", false);
// Ensure card front is visible and facing camera
if (_context.CardDisplay != null)
{

View File

@@ -28,6 +28,10 @@ namespace UI.CardSystem.StateMachine.States
public override void OnEnterState()
{
// Play feedback sound
AudioManager.Instance.LoadAndPlayUIAudio("card_levelup", false);
// Ensure card front is visible and facing camera
if (_context.CardDisplay != null)
{

View File

@@ -26,6 +26,9 @@ namespace UI.CardSystem.StateMachine.States
public override void OnEnterState()
{
// Play reveal audio
AudioManager.Instance.LoadAndPlayUIAudio("random_paper_putdown", false);
// Ensure card front is visible and facing camera
if (_context.CardDisplay != null)
{