flash warningarrows 8x125ms instead of 4x250ms

This commit is contained in:
yugecin 2017-02-26 00:03:25 +01:00
parent e783b4fe3c
commit 1d8f10642b

View File

@ -538,9 +538,9 @@ public class Game extends ComplexOpsuState {
}
}
} else if (breakLength >= 4000) {
// show break end (flash four times for 250ms)
// show break end (flash eight times for 125ms)
int endTimeDiff = endTime - trackPosition;
if (endTimeDiff < 2000 && (endTimeDiff / 250 % 2) == 1) {
if (endTimeDiff < 2000 && (endTimeDiff / 125 % 2) == 1) {
Image arrow = GameImage.WARNINGARROW.getImage();
arrow.setRotation(0);
arrow.draw(width * 0.15f, height * 0.15f);