disable physic debug render system and show fps

This commit is contained in:
Quillraven
2025-06-08 16:17:17 +02:00
parent f4e1294e69
commit d2e7b83f98
2 changed files with 4 additions and 1 deletions

View File

@@ -81,7 +81,9 @@ public class GdxGame extends Game {
super.render();
Gdx.graphics.setTitle("Mystic Tutorial - Draw Calls: " + glProfiler.getDrawCalls());
Gdx.graphics.setTitle("Mystic Tutorial " +
"- Draw Calls: " + glProfiler.getDrawCalls() + " " +
"- FPS: " + Gdx.graphics.getFramesPerSecond());
}
@Override

View File

@@ -15,6 +15,7 @@ public class PhysicDebugRenderSystem extends EntitySystem implements Disposable
this.box2DDebugRenderer = new Box2DDebugRenderer();
this.physicWorld = physicWorld;
this.camera = camera;
setProcessing(false);
}
@Override