1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 01:42:55 +08:00

Move taiko argon hit icon to respective centre/rim pieces

This commit is contained in:
Dean Herbert 2022-11-07 15:07:33 +09:00
parent 529e3217cf
commit 6636545195
3 changed files with 26 additions and 11 deletions

View File

@ -2,7 +2,10 @@
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Sprites;
using osuTK;
using osuTK.Graphics;
namespace osu.Game.Rulesets.Taiko.Skinning.Argon
@ -16,6 +19,16 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Argon
new Color4(241, 0, 0, 255),
new Color4(167, 0, 0, 255)
);
AddInternal(new SpriteIcon
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Icon = FontAwesome.Solid.AngleLeft,
Size = new Vector2(20 / 70f),
Scale = new Vector2(0.8f, 1)
});
}
}
}

View File

@ -7,11 +7,9 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Graphics.Containers;
using osu.Game.Rulesets.Objects.Drawables;
using osuTK;
using osuTK.Graphics;
namespace osu.Game.Rulesets.Taiko.Skinning.Argon
@ -84,15 +82,6 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Argon
}
},
},
new SpriteIcon
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Icon = FontAwesome.Solid.AngleLeft,
Size = new Vector2(20 / 70f),
Scale = new Vector2(0.8f, 1)
}
});
}

View File

@ -2,7 +2,10 @@
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Sprites;
using osuTK;
using osuTK.Graphics;
namespace osu.Game.Rulesets.Taiko.Skinning.Argon
@ -16,6 +19,16 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Argon
new Color4(0, 161, 241, 255),
new Color4(0, 111, 167, 255)
);
AddInternal(new SpriteIcon
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Icon = FontAwesome.Solid.AngleLeft,
Size = new Vector2(20 / 70f),
Scale = new Vector2(0.8f, 1)
});
}
}
}