don't show slider endcircle fadeout animation
This commit is contained in:
parent
0132f00073
commit
b76a3b366d
|
@ -898,7 +898,7 @@ public class GameData {
|
||||||
|
|
||||||
// hit animation
|
// hit animation
|
||||||
if (hitResult.result != HIT_MISS && (
|
if (hitResult.result != HIT_MISS && (
|
||||||
hitResult.hitResultType == null ||
|
hitResult.hitResultType == null || // null => initial slider circle
|
||||||
hitResult.hitResultType == HitObjectType.CIRCLE ||
|
hitResult.hitResultType == HitObjectType.CIRCLE ||
|
||||||
hitResult.hitResultType == HitObjectType.SLIDER_FIRST ||
|
hitResult.hitResultType == HitObjectType.SLIDER_FIRST ||
|
||||||
hitResult.hitResultType == HitObjectType.SLIDER_LAST)) {
|
hitResult.hitResultType == HitObjectType.SLIDER_LAST)) {
|
||||||
|
@ -922,13 +922,15 @@ public class GameData {
|
||||||
hitResult.color.a = oldColorAlpha;
|
hitResult.color.a = oldColorAlpha;
|
||||||
}
|
}
|
||||||
|
|
||||||
// hit circles
|
if (hitResult.hitResultType == null || hitResult.hitResultType == HitObjectType.CIRCLE) {
|
||||||
Image scaledHitCircle = GameImage.HITCIRCLE.getImage().getScaledCopy(scale);
|
// hit circles
|
||||||
Image scaledHitCircleOverlay = GameImage.HITCIRCLE_OVERLAY.getImage().getScaledCopy(scale);
|
Image scaledHitCircle = GameImage.HITCIRCLE.getImage().getScaledCopy(scale);
|
||||||
scaledHitCircle.setAlpha(alpha);
|
Image scaledHitCircleOverlay = GameImage.HITCIRCLE_OVERLAY.getImage().getScaledCopy(scale);
|
||||||
scaledHitCircleOverlay.setAlpha(alpha);
|
scaledHitCircle.setAlpha(alpha);
|
||||||
scaledHitCircle.drawCentered(hitResult.x, hitResult.y, hitResult.color);
|
scaledHitCircleOverlay.setAlpha(alpha);
|
||||||
scaledHitCircleOverlay.drawCentered(hitResult.x, hitResult.y);
|
scaledHitCircle.drawCentered(hitResult.x, hitResult.y, hitResult.color);
|
||||||
|
scaledHitCircleOverlay.drawCentered(hitResult.x, hitResult.y);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user