From 452daee4d80cac8479c461543fbdb9a0429aaf73 Mon Sep 17 00:00:00 2001 From: yugecin Date: Sat, 10 Dec 2016 02:16:58 +0100 Subject: [PATCH] bouncy reversearrow --- src/itdelatrisu/opsu/objects/Slider.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/itdelatrisu/opsu/objects/Slider.java b/src/itdelatrisu/opsu/objects/Slider.java index 03cb7770..1f79dbfe 100644 --- a/src/itdelatrisu/opsu/objects/Slider.java +++ b/src/itdelatrisu/opsu/objects/Slider.java @@ -247,6 +247,7 @@ public class Slider implements GameObject { for (int tcurRepeat = currentRepeats; tcurRepeat <= currentRepeats + 1; tcurRepeat++) { if (hitObject.getRepeatCount() - 1 > tcurRepeat) { Image arrow = GameImage.REVERSEARROW.getImage(); + arrow = arrow.getScaledCopy((float) (1 + 0.2d * ((trackPosition + sliderTime * tcurRepeat) % 292) / 292)); float colorLuminance = 0.299f*color.r + 0.587f*color.g + 0.114f*color.b; Color arrowColor = colorLuminance < 0.8f ? Color.white : Color.black; if (tcurRepeat != currentRepeats) {