update
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Ichni.RhythmGame
|
||||
public partial class Flick : NoteBase
|
||||
{
|
||||
public static readonly NoteJudgeIntervals judgeIntervals = new NoteJudgeIntervals(
|
||||
new TimeInterval(-0.25f, -0.25f), new TimeInterval(-0.25f, -0.25f),
|
||||
new TimeInterval(-0.15f, -0.25f), new TimeInterval(-0.25f, -0.25f),
|
||||
new TimeInterval(-0.25f, -0.25f), new TimeInterval(-0.25f, 0.15f),
|
||||
new TimeInterval(0.15f, 0.25f), new TimeInterval(0.25f, 0.25f), 0.25f);
|
||||
|
||||
|
||||
@@ -147,8 +147,6 @@ namespace Ichni.RhythmGame
|
||||
float triggerTime = GameManager.instance.songTime;
|
||||
float timeDifference = triggerTime - exactJudgeTime;
|
||||
|
||||
noteAudioSubmodule.PlayGeneralJudgeAudios();
|
||||
|
||||
NoteJudgeType startJudgeType = GetStartJudgeType(timeDifference);
|
||||
if (startJudgeType == NoteJudgeType.Perfect)
|
||||
{
|
||||
@@ -167,6 +165,11 @@ namespace Ichni.RhythmGame
|
||||
Miss(triggerTime);
|
||||
}
|
||||
|
||||
if (startJudgeType != NoteJudgeType.Miss)
|
||||
{
|
||||
noteAudioSubmodule.PlayGeneralJudgeAudios();
|
||||
}
|
||||
|
||||
isFirstJudged = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,8 +25,8 @@ namespace Ichni.RhythmGame
|
||||
stay.preJudgeType = NoteJudgeType.NotJudged;
|
||||
stay.judgeIntervals = new NoteJudgeIntervals(
|
||||
new TimeInterval(-0.15f, -0.15f), new TimeInterval(-0.15f, -0.15f),
|
||||
new TimeInterval(-0.15f, -0.15f), new TimeInterval(-0.15f, 0.1f),
|
||||
new TimeInterval(0.1f, 0.15f), new TimeInterval(0.15f, 0.15f), 0.15f);
|
||||
new TimeInterval(-0.15f, -0.15f), new TimeInterval(-0.15f, 0.125f),
|
||||
new TimeInterval(0.125f, 0.15f), new TimeInterval(0.15f, 0.15f), 0.15f);
|
||||
|
||||
if (parentElement.TryGetComponent(out Track track))
|
||||
{
|
||||
@@ -63,7 +63,7 @@ namespace Ichni.RhythmGame
|
||||
GameManager.instance.inputManager.checkingStayList.Add(this);
|
||||
}
|
||||
|
||||
DecideJudge(songTime);
|
||||
ExecuteFinalJudge(songTime);
|
||||
|
||||
base.Update();
|
||||
}
|
||||
@@ -89,7 +89,7 @@ namespace Ichni.RhythmGame
|
||||
}
|
||||
}
|
||||
|
||||
public void DecideJudge(float triggerTime)
|
||||
public void ExecuteFinalJudge(float triggerTime)
|
||||
{
|
||||
if (isFirstJudged && !isFinalJudged && preJudgeType != NoteJudgeType.NotJudged &&
|
||||
GameManager.instance.songTime >= exactJudgeTime)
|
||||
@@ -110,6 +110,11 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
Miss(triggerTime);
|
||||
}
|
||||
|
||||
if (preJudgeType != NoteJudgeType.Miss)
|
||||
{
|
||||
noteAudioSubmodule.PlayGeneralJudgeAudios();
|
||||
}
|
||||
|
||||
isFinalJudged = true;
|
||||
}
|
||||
|
||||
@@ -21,9 +21,9 @@ namespace Ichni.RhythmGame
|
||||
tap.Initialize(elementName, id, tags, isFirstGenerated, parentElement);
|
||||
tap.exactJudgeTime = exactJudgeTime;
|
||||
tap.judgeIntervals = new NoteJudgeIntervals(
|
||||
new TimeInterval(-0.15f, -0.15f), new TimeInterval(-0.15f, -0.1f),
|
||||
new TimeInterval(-0.1f, -0.05f), new TimeInterval(-0.05f, 0.05f),
|
||||
new TimeInterval(0.05f, 0.1f), new TimeInterval(0.1f, 0.15f), 0.15f);
|
||||
new TimeInterval(-0.15f, -0.15f), new TimeInterval(-0.15f, -0.125f),
|
||||
new TimeInterval(-0.125f, -0.1f), new TimeInterval(-0.1f, 0.1f),
|
||||
new TimeInterval(0.1f, 0.125f), new TimeInterval(0.125f, 0.15f), 0.15f);
|
||||
|
||||
if (parentElement.TryGetComponent(out Track track))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user