adjust replay cursor trail length

This commit is contained in:
yugecin 2018-10-28 23:52:26 +01:00
parent db5299a32a
commit 10e5375231
No known key found for this signature in database
GPG Key ID: 2C5AC035A7068E44
2 changed files with 3 additions and 1 deletions

View File

@ -232,12 +232,14 @@ public class Spinner extends GameObject {
GameImage.SPINNER_SPIN.getImage().setAlpha(alpha); GameImage.SPINNER_SPIN.getImage().setAlpha(alpha);
GameImage.SPINNER_SPIN.getImage().drawCentered(width2, height * 3 / 4); GameImage.SPINNER_SPIN.getImage().drawCentered(width2, height * 3 / 4);
/*
if (spinnerComplete) { if (spinnerComplete) {
GameImage.SPINNER_CLEAR.getImage().drawCentered(width2, height / 4); GameImage.SPINNER_CLEAR.getImage().drawCentered(width2, height / 4);
int extraRotations = (int) (rotations - rotationsNeeded); int extraRotations = (int) (rotations - rotationsNeeded);
if (extraRotations > 0) if (extraRotations > 0)
data.drawSymbolNumber(extraRotations * 1000, width2, height * 2 / 3, 1f, 1f); data.drawSymbolNumber(extraRotations * 1000, width2, height * 2 / 3, 1f, 1f);
} }
*/
} }
/** /**

View File

@ -77,7 +77,7 @@ public class ReplayCursor
int removecount = 0; int removecount = 0;
TrailNode newfirst = trail.first; TrailNode newfirst = trail.first;
while (newfirst != null && newfirst.value.time < nowtime - 400) { while (newfirst != null && newfirst.value.time < nowtime - 175) {
newfirst = newfirst.next; newfirst = newfirst.next;
removecount++; removecount++;
} }