Minor graphical updates and code cleaning.
- Padded game score display, and always display 2 digits in front of the decimal (e.g. 00.00% instead of 0.00%). - Keep map progress circle at a fixed location instead of basing it off the score length. - Moved some track resets (pause + restart at preview) to trigger upon loading the song menu. Fixes weird behaviors when leaving the game state. - Cleaned up trailing whitespace and added missing overrides. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -129,7 +129,7 @@ public enum GameMod {
|
||||
Image img = new Image(filename);
|
||||
float scale = (height * 0.12f) / img.getHeight();
|
||||
img = img.getScaledCopy(scale);
|
||||
|
||||
|
||||
// find coordinates
|
||||
float offsetX = img.getWidth() * 1.5f;
|
||||
float x = (width / 2f) - (offsetX * SIZE / 2.75f);
|
||||
|
||||
Reference in New Issue
Block a user