This commit is contained in:
SoulliesOfficial
2026-01-12 03:19:38 -05:00
parent 8d6e9de9d7
commit 66a1701087
52 changed files with 899 additions and 5161 deletions

View File

@@ -89,8 +89,14 @@ namespace Ichni.RhythmGame
#if UNITY_STANDALONE
return new FullScreenNearTimeJudgeUnit(attachedNote);
#elif UNITY_ANDROID || UNITY_IOS
//return new FullScreenNearTimeJudgeUnit(attachedNote);
return new TouchAreaJudgeUnit(attachedNote, areaRadius);
if (SettingsManager.instance.gameSettings.judgeType)
{
return new FullScreenNearTimeJudgeUnit(attachedNote);
}
else
{
return new TouchAreaJudgeUnit(attachedNote, areaRadius);
}
#endif
}
}

View File

@@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectTracker : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: bb900d6a5df01384481372f1fdeca79f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -22,6 +22,7 @@ namespace Ichni
public int languageIndex = 0;
public bool debugMode = false;
public bool judgeType = false;
public GameSettings()
{
@@ -29,7 +30,7 @@ namespace Ichni
}
public GameSettings(int masterVolume, int musicVolume, int soundEffectVolume, int uiVolume,
int beatmapOffset, int targetFrame, int resolutionLevel, int languageIndex, bool debugMode)
int beatmapOffset, int targetFrame, int resolutionLevel, int languageIndex, bool debugMode, bool judgeType)
{
this.masterVolume = masterVolume;
this.musicVolume = musicVolume;
@@ -40,6 +41,7 @@ namespace Ichni
this.resolutionLevel = resolutionLevel;
this.languageIndex = languageIndex;
this.debugMode = debugMode;
this.judgeType = judgeType;
}
public void ApplyVolume()

View File

@@ -50,7 +50,7 @@ namespace Ichni
{
gameSettings = new GameSettings(
50, 50, 50, 50,
0, 60, 3, 0, false);
0, 60, 3, 0, false, false);
}
gameSettings.ApplyVolume();

View File

@@ -8,6 +8,7 @@ namespace Ichni.Menu
public class DebugSettingsWindow : SettingsWindow
{
public Switch debugModeSwitch;
public Switch judgeTypeSwitch;
public override void Initialize()
{
@@ -16,11 +17,18 @@ namespace Ichni.Menu
{
gameSettings.debugMode = debugModeSwitch.GetValue();
};
judgeTypeSwitch.SetUp(gameSettings.judgeType, "Menu UI/Settings_Judge_Type");
judgeTypeSwitch.updateValueAction = () =>
{
gameSettings.judgeType = judgeTypeSwitch.GetValue();
};
}
public override void SetValuesFromSettings()
{
debugModeSwitch.SetValue(gameSettings.debugMode);
judgeTypeSwitch.SetValue(gameSettings.judgeType);
}
}
}