make reversearrows expand more like in osu! (close #50)

This commit is contained in:
yugecin 2016-11-20 13:05:37 +01:00
parent a018c5fb32
commit e025fd70d5

View File

@ -299,7 +299,8 @@ public class Slider extends GameObject {
arrow.setAlpha((float) (t - Math.floor(t))); arrow.setAlpha((float) (t - Math.floor(t)));
} else } else
arrow.setAlpha(Options.isSliderSnaking() ? decorationsAlpha : 1f); arrow.setAlpha(Options.isSliderSnaking() ? decorationsAlpha : 1f);
arrow = arrow.getScaledCopy((float) (1 + 0.3d * (trackPosition % bpm) / bpm)); //arrow = arrow.getScaledCopy((float) (1 + 0.3d * (trackPosition % bpm) / bpm));
arrow = arrow.getScaledCopy((float) (1 + 0.2d * ((trackPosition + sliderTime * tcurRepeat) % 292) / 292));
if (tcurRepeat % 2 == 0) { if (tcurRepeat % 2 == 0) {
// last circle // last circle
arrow.setRotation(curve.getEndAngle()); arrow.setRotation(curve.getEndAngle());