This commit is contained in:
SoulliesOfficial
2025-07-21 05:42:20 -04:00
parent e483cfe502
commit bae0bfbc20
533 changed files with 172709 additions and 125965 deletions

View File

@@ -57,7 +57,7 @@ namespace Ichni.RhythmGame
public IntReactiveProperty remainingElementAmount;
public int loadAmount = 0;
public int loadMaximumAmountPerFrame = 500;
public int loadMaximumAmountPerFrame = 100;
public BeatmapContainer_BM()
{
@@ -96,7 +96,8 @@ namespace Ichni.RhythmGame
GameManager.instance.beatmapContainer.matchedBM = this;
remainingElementAmount = new IntReactiveProperty(elementList.Count);
GameElement_BM.identifier.Clear();
GameManager.instance.StartCoroutine(ExecuteLoadElements());
}
@@ -119,7 +120,7 @@ namespace Ichni.RhythmGame
GameElement_BM.identifier.Add(gameElement.elementGuid, gameElement);
}
Debug.Log(element.attachedElementGuid);
//Debug.Log(element.attachedElementGuid);
element.ExecuteBM();
remainingElementAmount.Value--;
@@ -167,6 +168,8 @@ namespace Ichni.RhythmGame
gameElement.Refresh();
});
GameManager.instance.noteManager.AllNotesRegistered();
Debug.Log("All elements loaded.");
GameManager.instance.gameLoadingCanvas.FadeOut();
GameManager.instance.audioManager.isLoading = false;
@@ -178,7 +181,7 @@ namespace Ichni.RhythmGame
{
public static readonly List<Type> LowPriorityGameElementTypes = new()
{
typeof(NoteJudgeSubmodule_BM),
//typeof(NoteJudgeSubmodule_BM),
};
public static readonly List<Type> LowPriorityDataTypes = new()