From 87e95ba645ea204865daf7458755d1a3822f86c2 Mon Sep 17 00:00:00 2001 From: Armin Benz Date: Fri, 14 Apr 2017 21:36:35 +0200 Subject: [PATCH] debug Anzeig auskommentiert --- core/src/de/samdev/colorrunner/CRGame.java | 2 +- .../colorrunner/game/renderer/AbstractGameRenderer.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/de/samdev/colorrunner/CRGame.java b/core/src/de/samdev/colorrunner/CRGame.java index 2063e2c..04b8c75 100644 --- a/core/src/de/samdev/colorrunner/CRGame.java +++ b/core/src/de/samdev/colorrunner/CRGame.java @@ -8,7 +8,7 @@ import com.badlogic.gdx.audio.Music; import de.samdev.colorrunner.screens.menu.SplashScreen; public class CRGame extends Game { - public final static boolean DEBUG = true; + public final static boolean DEBUG = false; public static AssetManager manager; @Override diff --git a/core/src/de/samdev/colorrunner/game/renderer/AbstractGameRenderer.java b/core/src/de/samdev/colorrunner/game/renderer/AbstractGameRenderer.java index 5144969..9660309 100644 --- a/core/src/de/samdev/colorrunner/game/renderer/AbstractGameRenderer.java +++ b/core/src/de/samdev/colorrunner/game/renderer/AbstractGameRenderer.java @@ -99,10 +99,10 @@ public abstract class AbstractGameRenderer { protected void renderDebug(String s) { Vector3 coords = cam.unproject(new Vector3(10, 10, 0)); - font.draw(fontBatch, s, coords.x, coords.y - debugTextCount++ * 20); +// font.draw(fontBatch, s, coords.x, coords.y - debugTextCount++ * 20); } protected void renderHud(String s, int xCoord){ - Vector3 coords = cam.unproject(new Vector3(10, 10, 0)); + //Vector3 coords = cam.unproject(new Vector3(10, 10, 0)); if (hudTextCount == 0) font2.setColor(Color.RED); if (hudTextCount == 1)