P L O P
This commit is contained in:
@@ -57,7 +57,8 @@ namespace UI.CardSystem.StateMachine.States
|
||||
// Enlarge using settings-controlled scale
|
||||
_context.Animator.PlayEnlarge(_settings.AlbumCardEnlargedScale, _settings.ScaleDuration);
|
||||
}
|
||||
|
||||
// Play pick up card audio
|
||||
AudioManager.Instance.LoadAndPlayUIAudio("card_albumdrop_deep", false);
|
||||
Logging.Debug($"[CardAlbumEnlargedState] Card enlarged from album: {_context.CardData?.Name}");
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace UI.CardSystem.StateMachine.States
|
||||
|
||||
public override void OnEnterState()
|
||||
{
|
||||
|
||||
// Ensure card front is visible and facing camera
|
||||
if (_context.CardDisplay != null)
|
||||
{
|
||||
@@ -43,6 +44,8 @@ namespace UI.CardSystem.StateMachine.States
|
||||
// Animated placement - play tween to slot
|
||||
Logging.Debug($"[CardPlacedInSlotState] Animating card '{_context.CardData?.Name}' to slot");
|
||||
AnimateToSlot(_targetSlotForAnimation);
|
||||
// Play card drop in album sound
|
||||
AudioManager.Instance.LoadAndPlayUIAudio("card_albumdrop", false);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -54,6 +57,7 @@ namespace UI.CardSystem.StateMachine.States
|
||||
card.SetDraggingEnabled(false);
|
||||
}
|
||||
Logging.Debug($"[CardPlacedInSlotState] Card '{_context.CardData?.Name}' directly placed in slot");
|
||||
AudioManager.Instance.LoadAndPlayUIAudio("card_albumdrop_deep", false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -362,12 +362,16 @@ namespace UI.CardSystem
|
||||
// Entering album proper and no cards spawned yet - spawn them with animation
|
||||
Logging.Debug("[AlbumViewPage] Entering album proper - spawning pending cards with animation");
|
||||
SpawnPendingCornerCards();
|
||||
// Play flip audio
|
||||
AudioManager.Instance.LoadAndPlayUIAudio("random_paper_pickup", false);
|
||||
}
|
||||
else if (!isInAlbum && CornerCards.PendingCards.Count > 0)
|
||||
{
|
||||
// Returning to menu page - cleanup cards
|
||||
Logging.Debug("[AlbumViewPage] Returning to menu page - cleaning up pending cards");
|
||||
CleanupPendingCornerCards();
|
||||
// Play flip audio
|
||||
AudioManager.Instance.LoadAndPlayUIAudio("random_paper_putdown", false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user