slightly adjust hit result image position

This commit is contained in:
yugecin 2018-04-14 17:55:59 +02:00
parent 8fed11ba86
commit 9628149de0

View File

@ -157,7 +157,7 @@ public class ReplayPlayback {
scale = AnimationEquation.OUT_EXPO.calc((float) hitImageTimer / HITIMAGETIMEREXPAND); scale = AnimationEquation.OUT_EXPO.calc((float) hitImageTimer / HITIMAGETIMEREXPAND);
offset = UNITHEIGHT / 2f * (1f - scale); offset = UNITHEIGHT / 2f * (1f - scale);
} }
hitImage.draw(xpos + offset, ypos + offset, scale, color); hitImage.draw(xpos + offset, 2f + ypos + offset, scale, color);
} }
public float getHeight() { public float getHeight() {