update
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Ichni.RhythmGame
|
||||
|
||||
float distance = Vector2.Distance(inputScreenPosition, noteScreenPosition);
|
||||
|
||||
if (distance <= areaRadius * CurrentScreenRatio())
|
||||
if (distance <= areaRadius)
|
||||
{
|
||||
if (inputUnit is InputUnitSwipe swipe && note is Flick flick)
|
||||
{
|
||||
@@ -86,7 +86,7 @@ namespace Ichni.RhythmGame
|
||||
|
||||
public override NoteJudgeUnit ConvertToGameType(NoteBase attachedNote)
|
||||
{
|
||||
#if UNITY_EDITOR || UNITY_STANDALONE
|
||||
#if UNITY_STANDALONE
|
||||
return new FullScreenNearTimeJudgeUnit(attachedNote);
|
||||
#elif UNITY_ANDROID || UNITY_IOS
|
||||
return new TouchAreaJudgeUnit(attachedNote, areaRadius);
|
||||
|
||||
@@ -144,7 +144,7 @@ namespace Ichni.RhythmGame
|
||||
return true;
|
||||
}
|
||||
|
||||
Camera gameCamera = GameManager.instance.cameraManager.gameCamera.gameCamera;
|
||||
Camera gameCamera = GameManager.instance.cameraManager.gameCamera.cam;
|
||||
|
||||
foreach (Vector2 localDir in availableFlickDirections)
|
||||
{
|
||||
|
||||
@@ -345,9 +345,15 @@ namespace Ichni.RhythmGame
|
||||
|
||||
if (!isFirstJudged && GameManager.instance.songTime > exactJudgeTime + judgeIntervals.afterMiss)
|
||||
{
|
||||
Miss(exactJudgeTime + judgeIntervals.afterMiss);
|
||||
isFirstJudged = true;
|
||||
isFinalJudged = true;
|
||||
|
||||
foreach (EffectBase e in noteVisual.effectSubmodule.effectCollection["StartHold"])
|
||||
{
|
||||
e.Disrupt();
|
||||
}
|
||||
|
||||
Miss(exactJudgeTime + judgeIntervals.afterMiss);
|
||||
RemoveFromCheckingList();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -292,7 +292,7 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
public Vector2 GetScreenPosition()
|
||||
{
|
||||
return GameManager.instance.cameraManager.gameCamera.gameCamera.WorldToScreenPoint(noteVisual.noteVisualPosition);
|
||||
return GameManager.instance.cameraManager.gameCamera.cam.WorldToScreenPoint(noteVisual.noteVisualPosition);
|
||||
}
|
||||
|
||||
protected virtual void SetJudgeArea()
|
||||
|
||||
Reference in New Issue
Block a user