From b8adc70fcee47ab0ca53e9c22d4980c426c8c0b2 Mon Sep 17 00:00:00 2001 From: kkuhn317 <55213985+kkuhn317@users.noreply.github.com> Date: Mon, 16 Jan 2023 20:51:53 -0500 Subject: [PATCH] Catchy Tune: quick fixes (#207) * catchy tune setup work, animations * more catchy tune progress * catchy tune: gameplay implemented, animation adjustments * more animation work catchy tune * more animation work catchy tune * adjust icon metadata * code cleanup left remarks for minigame developer * Catchy Tune new sprites * Catchy Tune miss animations, fix bugs * barely animation * Catchy Tune several things * barely sounds * miss animation for pineapple * background for catchy tune 2 * new game action for switching bg * Catchy Tune cleanup, asset bundle * catchy tune fix tree layering, barely right sound Co-authored-by: minenice55 --- Assets/Resources/Games/catchyTune.prefab | 2 +- Assets/Scripts/Games/CatchyTune/CatchyTune.cs | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Assets/Resources/Games/catchyTune.prefab b/Assets/Resources/Games/catchyTune.prefab index fbeeb4b93..a03411f6f 100644 --- a/Assets/Resources/Games/catchyTune.prefab +++ b/Assets/Resources/Games/catchyTune.prefab @@ -3686,7 +3686,7 @@ SpriteRenderer: m_LightmapParameters: {fileID: 0} m_SortingLayerID: 0 m_SortingLayer: 0 - m_SortingOrder: -1 + m_SortingOrder: -2 m_Sprite: {fileID: -4598661117349034189, guid: 501cf4e52fd01b742af0c4dab9954c26, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} m_FlipX: 0 diff --git a/Assets/Scripts/Games/CatchyTune/CatchyTune.cs b/Assets/Scripts/Games/CatchyTune/CatchyTune.cs index 00ad8f498..e526b0f0c 100644 --- a/Assets/Scripts/Games/CatchyTune/CatchyTune.cs +++ b/Assets/Scripts/Games/CatchyTune/CatchyTune.cs @@ -332,7 +332,15 @@ namespace HeavenStudio.Games public void catchBarely(bool side) { - Jukebox.PlayOneShotGame("catchyTune/barely left"); + if (side) + { + Jukebox.PlayOneShotGame("catchyTune/barely right"); + } + else + { + Jukebox.PlayOneShotGame("catchyTune/barely left"); + } + whiffAnim(side); }