mirror of
https://github.com/ppy/osu.git
synced 2026-06-02 00:20:40 +08:00
Add test sprites and make alignment initially better
This commit is contained in:
@@ -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
|
||||
{
|
||||
Anchor = flipped ? Anchor.CentreRight : Anchor.CentreLeft,
|
||||
Origin = flipped ? Anchor.CentreLeft : Anchor.CentreRight,
|
||||
Anchor = Anchor.CentreRight,
|
||||
Origin = Anchor.CentreLeft, // opposite due to scale inversion.
|
||||
Scale = new Vector2(-1, 1),
|
||||
Alpha = 0,
|
||||
},
|
||||
centreHit = new Sprite
|
||||
{
|
||||
Anchor = flipped ? Anchor.CentreRight : Anchor.CentreLeft,
|
||||
Origin = flipped ? Anchor.CentreRight : Anchor.CentreLeft,
|
||||
Anchor = Anchor.CentreRight,
|
||||
Origin = Anchor.CentreRight,
|
||||
Alpha = 0,
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user