From 7b427ed9c258ba746ee3afe2bfa41c8e32a2c475 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 19 Feb 2016 03:37:34 -0500 Subject: [PATCH] v0.3.4b: increased ax render scale of text to 6x --- .../shatteredpixeldungeon/scenes/PixelScene.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/scenes/PixelScene.java b/src/com/shatteredpixel/shatteredpixeldungeon/scenes/PixelScene.java index 7aed187e1..d18742c0e 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/scenes/PixelScene.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/scenes/PixelScene.java @@ -198,8 +198,8 @@ public class PixelScene extends Scene { } public static RenderedText renderText( String text, int size ) { - //rendering above 5x is a waste of resources, can just scale from there. - int zoom = Math.min(defaultZoom, 5); + //rendering above 6x is a waste of resources, can just scale from there. + int zoom = Math.min(defaultZoom, 6); RenderedText result = new RenderedText( text, size*zoom); //adding 0.001f helps with smoothness on lower resolution devices. result.scale.set(1/(float)zoom); @@ -211,7 +211,7 @@ public class PixelScene extends Scene { } public static RenderedTextMultiline renderMultiline( String text, int size ){ - int zoom = Math.min(defaultZoom, 5); + int zoom = Math.min(defaultZoom, 6); RenderedTextMultiline result = new RenderedTextMultiline( text, size*zoom); result.zoom(1/(float)zoom); return result;