disable physic debug render system and show fps
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -15,6 +15,7 @@ public class PhysicDebugRenderSystem extends EntitySystem implements Disposable
|
||||
this.box2DDebugRenderer = new Box2DDebugRenderer();
|
||||
this.physicWorld = physicWorld;
|
||||
this.camera = camera;
|
||||
setProcessing(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user