diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-10 12:20:11 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-10 12:20:11 +0100 |
commit | c482bfdd3d22b0a881305a41436c0719842d5828 (patch) | |
tree | cec9d2452aafe6cdf031558047fd4f14b9ab938a /core | |
parent | 9906c8e7330130156114a2aa0e3181ea701a297b (diff) | |
download | RustAndDust-c482bfdd3d22b0a881305a41436c0719842d5828.zip RustAndDust-c482bfdd3d22b0a881305a41436c0719842d5828.tar.gz |
RustAndDust: increase font and Bg min size
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/RustAndDust.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/RustAndDust.java b/core/src/ch/asynk/rustanddust/RustAndDust.java index a00a69d..67f300f 100644 --- a/core/src/ch/asynk/rustanddust/RustAndDust.java +++ b/core/src/ch/asynk/rustanddust/RustAndDust.java @@ -156,13 +156,13 @@ public class RustAndDust extends Game FreeTypeFontParameter parameter = new FreeTypeFontParameter(); float h = Gdx.graphics.getHeight(); - parameter.size = Math.max((int) (h * 0.04f), 15); + parameter.size = Math.max((int) (h * 0.04f), 16); parameter.color = Color.BLACK; fontB = generator.generateFont(parameter); parameter.color = Color.WHITE; fontW = generator.generateFont(parameter); - Bg.setScale(Math.max((h * 0.00125f), 0.4f)); + Bg.setScale(Math.max((h * 0.00125f), 1.0f)); UnitDock.setScale(Math.max((h * 0.0005f), 0.4f)); EngagementPanel.setDiceDimension((int) Math.max((h * 0.03f), 24)); } |