mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 22:33:05 +08:00
Made judgements follow DrawableOsuHitObjects. Enabled judgements for depth mod
This commit is contained in:
parent
7dac5afd90
commit
16190a4ed7
@ -50,9 +50,6 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
// Hide follow points as they won't make any sense.
|
||||
// Judgements can potentially be turned on in a future where they display at a position relative to their drawable counterpart.
|
||||
(drawableRuleset.Playfield as OsuPlayfield)?.FollowPoints.Hide();
|
||||
// Hide judgements as they don't move with the drawables after appearing, which does look bad.
|
||||
// They would need to either move with them or disappear sooner.
|
||||
drawableRuleset.Playfield.DisplayJudgements.Value = false;
|
||||
}
|
||||
|
||||
private void applyTransform(DrawableHitObject drawable, ArmedState state)
|
||||
|
@ -46,6 +46,17 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
if (JudgedObject is DrawableOsuHitObject osuObject && Parent != null && osuObject.HitObject != null)
|
||||
{
|
||||
Position = osuObject.ToSpaceOfOtherDrawable(osuObject.OriginPosition, Parent!);
|
||||
Scale = new Vector2(osuObject.HitObject.Scale);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ApplyHitAnimations()
|
||||
{
|
||||
bool hitLightingEnabled = config.Get<bool>(OsuSetting.HitLighting);
|
||||
|
Loading…
Reference in New Issue
Block a user