From 90b5956a7419929af9a8fa5e7cd822d36352e8dd Mon Sep 17 00:00:00 2001 From: minenice55 Date: Sun, 12 May 2024 17:46:19 -0400 Subject: [PATCH] tweak karate man's animator remove debug print --- .../KarateMan/Sprites/anime/karateman/KarateMan.controller | 6 +++--- Assets/Scripts/Games/KarateMan/KarateManJoe.cs | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Assets/Bundled/Games/KarateMan/Sprites/anime/karateman/KarateMan.controller b/Assets/Bundled/Games/KarateMan/Sprites/anime/karateman/KarateMan.controller index aea9cecf..dd6f751a 100644 --- a/Assets/Bundled/Games/KarateMan/Sprites/anime/karateman/KarateMan.controller +++ b/Assets/Bundled/Games/KarateMan/Sprites/anime/karateman/KarateMan.controller @@ -8,7 +8,7 @@ AnimatorState: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Jab - m_Speed: 1 + m_Speed: 0.5 m_CycleOffset: 0 m_Transitions: [] m_StateMachineBehaviours: [] @@ -750,7 +750,7 @@ AnimatorState: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: ManKick - m_Speed: 1 + m_Speed: 0.5 m_CycleOffset: 0 m_Transitions: [] m_StateMachineBehaviours: [] @@ -776,7 +776,7 @@ AnimatorState: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Straight - m_Speed: 1 + m_Speed: 0.5 m_CycleOffset: 0 m_Transitions: [] m_StateMachineBehaviours: [] diff --git a/Assets/Scripts/Games/KarateMan/KarateManJoe.cs b/Assets/Scripts/Games/KarateMan/KarateManJoe.cs index b7b33353..407a719e 100644 --- a/Assets/Scripts/Games/KarateMan/KarateManJoe.cs +++ b/Assets/Scripts/Games/KarateMan/KarateManJoe.cs @@ -246,7 +246,6 @@ namespace HeavenStudio.Games.Scripts_KarateMan noNuriJabTime = cond.songPositionInBeatsAsDouble; break; default: - Debug.Log($"Punching with beat {wantBeat} and lastPunchTime {lastPunchTime}"); if (wantBeat <= cond.GetBeatFromSongPos(lastPunchTime + Minigame.NgLateTime() - 1) + 0.25) { lastPunchTime = double.MinValue;