Very slightly tweaked slider rendering.

Increased color alpha level, and don't fade the begin/end circles.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-02-23 18:12:31 -05:00
parent 51620772c0
commit 4f0f093b75
2 changed files with 8 additions and 11 deletions

View File

@@ -172,14 +172,13 @@ public class CircumscribedCircle extends Curve {
public void draw() {
Image hitCircle = GameImage.HITCIRCLE.getImage();
Image hitCircleOverlay = GameImage.HITCIRCLE_OVERLAY.getImage();
float[][] xy = new float[(int) step + 1][];
for (int i = 0; i < step; i++) {
float[] xy = pointAt(i / step);
hitCircleOverlay.drawCentered(xy[0], xy[1], Utils.COLOR_WHITE_FADE);
}
for (int i = 0; i < step; i++) {
float[] xy = pointAt(i / step);
hitCircle.drawCentered(xy[0], xy[1], color);
xy[i] = pointAt(i / step);
hitCircleOverlay.drawCentered(xy[i][0], xy[i][1], Utils.COLOR_WHITE_FADE);
}
for (int i = 0; i < step; i++)
hitCircle.drawCentered(xy[i][0], xy[i][1], color);
}
@Override