flash warningarrows 8x125ms instead of 4x250ms
This commit is contained in:
parent
e783b4fe3c
commit
1d8f10642b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user