diff --git a/osu.Game.Rulesets.Hishigata/Objects/Drawables/DrawableHishigataHitObject.cs b/osu.Game.Rulesets.Hishigata/Objects/Drawables/DrawableHishigataHitObject.cs
index 80d5deb..f767447 100644
--- a/osu.Game.Rulesets.Hishigata/Objects/Drawables/DrawableHishigataHitObject.cs
+++ b/osu.Game.Rulesets.Hishigata/Objects/Drawables/DrawableHishigataHitObject.cs
@@ -52,6 +52,12 @@ protected override void CheckForResult(bool userTriggered, double timeOffset)
ApplyResult(r => r.Type = r.Judgement.MinResult);
}
+ protected override void LoadComplete()
+ {
+ base.LoadComplete();
+ LifetimeStart = HitObject.StartTime - InitialLifetimeOffset;
+ }
+
protected override void UpdateInitialTransforms()
{
if (HitObject.IsFeign)
@@ -63,7 +69,7 @@ protected override void UpdateInitialTransforms()
note.MoveTo(new Vector2(0, -80), HitObject.TimePreempt);
}
- protected override void UpdateStateTransforms(ArmedState state)
+ protected override void UpdateHitStateTransforms(ArmedState state)
{
double animationDuration = HitObject.TimePreempt / 6;
diff --git a/osu.Game.Rulesets.Hishigata/UI/HishigataPlayfield.cs b/osu.Game.Rulesets.Hishigata/UI/HishigataPlayfield.cs
index 0d49562..939839e 100644
--- a/osu.Game.Rulesets.Hishigata/UI/HishigataPlayfield.cs
+++ b/osu.Game.Rulesets.Hishigata/UI/HishigataPlayfield.cs
@@ -43,6 +43,7 @@ public HishigataPlayfield()
};
lanes.Add(lane);
playfieldContainer.Add(lane);
+ AddNested(lane);
}
}
diff --git a/osu.Game.Rulesets.Hishigata/UI/Lane.cs b/osu.Game.Rulesets.Hishigata/UI/Lane.cs
index e62dce3..b95be49 100644
--- a/osu.Game.Rulesets.Hishigata/UI/Lane.cs
+++ b/osu.Game.Rulesets.Hishigata/UI/Lane.cs
@@ -1,3 +1,4 @@
+using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Pooling;
@@ -39,6 +40,7 @@ private void onNewResult(DrawableHitObject h, JudgementResult judgement)
{
if (judgement.IsHit)
hitExplosionContainer.Add(hitExplosionPool.Get(e => e.Apply(h as DrawableHishigataHitObject)));
+ Console.WriteLine(judgement.Type.ToString());
}
public class LaneReceptor : CompositeDrawable
diff --git a/osu.Game.Rulesets.Hishigata/osu.Game.Rulesets.Hishigata.csproj b/osu.Game.Rulesets.Hishigata/osu.Game.Rulesets.Hishigata.csproj
index a216c6a..7ef4407 100644
--- a/osu.Game.Rulesets.Hishigata/osu.Game.Rulesets.Hishigata.csproj
+++ b/osu.Game.Rulesets.Hishigata/osu.Game.Rulesets.Hishigata.csproj
@@ -10,6 +10,6 @@
osu.Game.Rulesets.Hishigata
-
+