mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 07:43:00 +08:00
Taiko hit objects now snap to hit target
This commit is contained in:
parent
21fa29f47f
commit
df1355ea4b
@ -207,6 +207,8 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
const float gravity_time = 300;
|
||||
const float gravity_travel_height = 200;
|
||||
|
||||
MainPiece.MoveToX(-X); // Visually snap hit object to hit target
|
||||
|
||||
this.ScaleTo(0.8f, gravity_time * 2, Easing.OutQuad);
|
||||
|
||||
this.MoveToY(-gravity_travel_height, gravity_time, Easing.Out)
|
||||
|
Loading…
Reference in New Issue
Block a user