mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Wire up CircleSize to hitobjects.
Note, that circle sizes still are wrong compared to stable osu. In order to fix this, the base radius of hitcircles needs to become 64, but it currently is 72.
This commit is contained in:
@ -13,7 +13,7 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
||||
{
|
||||
public class DrawableHitCircle : DrawableOsuHitObject
|
||||
{
|
||||
private OsuHitObject osuObject;
|
||||
private HitCircle osuObject;
|
||||
|
||||
public ApproachCircle ApproachCircle;
|
||||
private CirclePiece circle;
|
||||
@ -23,12 +23,13 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
||||
private NumberPiece number;
|
||||
private GlowPiece glow;
|
||||
|
||||
public DrawableHitCircle(OsuHitObject h) : base(h)
|
||||
public DrawableHitCircle(HitCircle h) : base(h)
|
||||
{
|
||||
osuObject = h;
|
||||
|
||||
Origin = Anchor.Centre;
|
||||
Position = osuObject.Position;
|
||||
Scale = new Vector2(osuObject.Scale);
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
@ -104,7 +105,6 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
||||
ApproachCircle.Alpha = 0;
|
||||
ApproachCircle.Scale = new Vector2(2);
|
||||
explode.Alpha = 0;
|
||||
Scale = new Vector2(0.5f); //this will probably need to be moved to DrawableHitObject at some point.
|
||||
}
|
||||
|
||||
protected override void UpdatePreemptState()
|
||||
|
Reference in New Issue
Block a user