Added visual interpolation for slow tickrates

This commit is contained in:
Anuken
2018-02-07 17:56:39 -05:00
parent 153905cf47
commit f4227b99ff
8 changed files with 72 additions and 11 deletions

View File

@@ -93,7 +93,7 @@ public class HudFragment implements Fragment{
visible(() -> !state.is(State.menu));
Label fps = new Label(() -> (Settings.getBool("fps") ? (Gdx.graphics.getFramesPerSecond() + " FPS") +
(Net.client() && !gwt ? " / Ping: " + Net.getPing() : "") : ""));
(threads.isEnabled() ? " / " + threads.getFPS() + " TPS" : "") + (Net.client() && !gwt ? " / Ping: " + Net.getPing() : "") : ""));
row();
add(fps).size(-1);