slightly adjust hit result image position
This commit is contained in:
parent
8fed11ba86
commit
9628149de0
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user