mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:07:52 +08:00
Add test sprites and make alignment initially better
This commit is contained in:
parent
6575f589b4
commit
40267cb1fe
@ -0,0 +1,5 @@
|
|||||||
|
[General]
|
||||||
|
Name: an old skin
|
||||||
|
Author: an old guy
|
||||||
|
|
||||||
|
// no version specified means v1
|
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
@ -82,15 +82,15 @@ namespace osu.Game.Rulesets.Taiko.Skinning
|
|||||||
{
|
{
|
||||||
rimHit = new Sprite
|
rimHit = new Sprite
|
||||||
{
|
{
|
||||||
Anchor = flipped ? Anchor.CentreRight : Anchor.CentreLeft,
|
Anchor = Anchor.CentreRight,
|
||||||
Origin = flipped ? Anchor.CentreLeft : Anchor.CentreRight,
|
Origin = Anchor.CentreLeft, // opposite due to scale inversion.
|
||||||
Scale = new Vector2(-1, 1),
|
Scale = new Vector2(-1, 1),
|
||||||
Alpha = 0,
|
Alpha = 0,
|
||||||
},
|
},
|
||||||
centreHit = new Sprite
|
centreHit = new Sprite
|
||||||
{
|
{
|
||||||
Anchor = flipped ? Anchor.CentreRight : Anchor.CentreLeft,
|
Anchor = Anchor.CentreRight,
|
||||||
Origin = flipped ? Anchor.CentreRight : Anchor.CentreLeft,
|
Origin = Anchor.CentreRight,
|
||||||
Alpha = 0,
|
Alpha = 0,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user