特效改
This commit is contained in:
@@ -34,6 +34,7 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
effectSubmodule.effectCollection["Prior"].ForEach(effect => effect.UpdateEffect(time));
|
||||
effectSubmodule.effectCollection["Default"].ForEach(effect => effect.UpdateEffect(time));
|
||||
effectSubmodule.effectCollection["Late"].ForEach(effect => effect.UpdateEffect(time));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace Ichni.RhythmGame
|
||||
private static Dictionary<string, NoteJudgeUnit> JudgeUnitCollection(NoteBase note) =>
|
||||
new Dictionary<string, NoteJudgeUnit>()
|
||||
{
|
||||
{ "TouchArea", new TouchAreaJudgeUnit(note, 500) },
|
||||
{ "TouchArea", new TouchAreaJudgeUnit(note, 600) },
|
||||
{ "FullScreenNearTime", new FullScreenNearTimeJudgeUnit(note) },
|
||||
{ "TriggerConnect", new TriggerConnectJudgeUnit(note, null) }
|
||||
};
|
||||
|
||||
@@ -172,6 +172,7 @@ namespace Ichni.RhythmGame
|
||||
isHolding = false;
|
||||
isFinalJudged = false;
|
||||
holdingTime = 0;
|
||||
noteAudioSubmodule.PlayHoldStartAudio();
|
||||
}
|
||||
|
||||
if (isHolding)
|
||||
|
||||
@@ -114,12 +114,21 @@ namespace Ichni.RhythmGame
|
||||
UpdateEffectList(effects["Generate"]);
|
||||
UpdateEffectList(effects["GeneralJudge"]);
|
||||
|
||||
switch (editor.currentJudgeType)
|
||||
if (editor.currentJudgeType == NoteJudgeType.Perfect)
|
||||
{
|
||||
case NoteJudgeType.Perfect: UpdateEffectList(effects["Perfect"]); break;
|
||||
case NoteJudgeType.Good: UpdateEffectList(effects["Good"]); break;
|
||||
case NoteJudgeType.Bad: UpdateEffectList(effects["Bad"]); break;
|
||||
case NoteJudgeType.Miss: UpdateEffectList(effects["Miss"]); break;
|
||||
UpdateEffectList(effects["Perfect"]);
|
||||
}
|
||||
else if (editor.currentJudgeType == NoteJudgeType.Good)
|
||||
{
|
||||
UpdateEffectList(this is Tap or Hold ? effects["Good"] : effects["Perfect"]);
|
||||
}
|
||||
else if (editor.currentJudgeType == NoteJudgeType.Bad)
|
||||
{
|
||||
UpdateEffectList(this is Tap or Hold ? effects["Bad"] : effects["Perfect"]);
|
||||
}
|
||||
else if (editor.currentJudgeType == NoteJudgeType.Miss)
|
||||
{
|
||||
UpdateEffectList(effects["Miss"]);
|
||||
}
|
||||
|
||||
UpdateEffectList(effects["AfterJudge"]);
|
||||
|
||||
@@ -119,6 +119,12 @@ namespace Ichni.RhythmGame
|
||||
var isShowingSphereToggle =
|
||||
inspector.GenerateToggle(this, pathNodeSettings, "Is Showing Sphere", nameof(isShowingSphere))
|
||||
.AddListenerFunction(() => SetPathNodeSphere(isShowingSphere));
|
||||
|
||||
var generateAnimation = container.GenerateSubcontainer(3);
|
||||
StandardInspectionElement.GenerateForTransform(this, container);
|
||||
var generateBaseColorChangeButton = inspector.GenerateButton(this, generateAnimation, "Base Color Change",
|
||||
() => BaseColorChange.GenerateElement("New Base Color Change", Guid.NewGuid(), new List<string>(), true,
|
||||
this, new FlexibleFloat(), new FlexibleFloat(), new FlexibleFloat(), new FlexibleFloat()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user