This commit is contained in:
SoulliesOfficial
2025-06-28 12:06:19 -04:00
parent 1a3d37d9b5
commit 1b87a4345b
22 changed files with 32991 additions and 17950 deletions

View File

@@ -138,7 +138,7 @@ namespace Ichni.RhythmGame
{ "EnableControl", new EnableControlEffect(null, "New Variable", 0, false, "") },
{ "LowPassFilter", new LowPassFilterEffect(1, 10, CustomCurvePresets.Parabolic(1, 0, 1)) },
{ "HighPassFilter", new HighPassFilterEffect(1, 22000, CustomCurvePresets.Parabolic(1, 0, 1)) },
{ "DTM_RippleEffect", new DTMRippleEffect(false, 0.5f, Color.white, 0) }
{ "DTM_RippleEffect", new DTMRippleEffect(0.65f, Color.white, 0) }
};
}

View File

@@ -8,8 +8,9 @@ using UnityEngine;
namespace Ichni.RhythmGame
{
public partial class TimeEffectsCollection : GameElement, IHaveEffectSubmodule
public partial class TimeEffectsCollection : GameElement, IHaveTransformSubmodule, IHaveEffectSubmodule
{
public TransformSubmodule transformSubmodule { get; set; }
public EffectSubmodule effectSubmodule { get; set; }
public float time; //触发效果的时间
@@ -25,6 +26,7 @@ namespace Ichni.RhythmGame
public override void SetDefaultSubmodules()
{
transformSubmodule = new TransformSubmodule(this);
effectSubmodule = new EffectSubmodule(this);
}

View File

@@ -33,6 +33,8 @@ namespace Ichni.RhythmGame
point.trackSwitch = trackSwitch;
point.trackPercent = trackPercent;
point.trackPositioner.motion.applyRotation = false;
return point;
}

View File

@@ -28,6 +28,9 @@ namespace Ichni.RhythmGame
head.trackPositioner = head.gameObject.AddComponent<SplinePositioner>();
head.trackPositioner.spline = track.trackPathSubmodule.path;
head.trackTimeSubmoduleMovable = track.trackTimeSubmodule as TrackTimeSubmoduleMovable;
head.trackPositioner.motion.applyRotation = false;
return head;
}

View File

@@ -49,7 +49,8 @@ namespace Ichni.RhythmGame
}
point.trackPositioner.motion.applyRotation = false;
return point;
}