bruh remove fps counter

This commit is contained in:
RandomityGuy 2021-07-19 12:51:45 +05:30
parent b21d97bee4
commit 2b6b3b0bc8
2 changed files with 5 additions and 6 deletions

Binary file not shown.

View file

@ -16,8 +16,7 @@ import fs.ManifestBuilder;
class Main extends hxd.App { class Main extends hxd.App {
var marbleGame:MarbleGame; var marbleGame:MarbleGame;
var fpsCounter:Text; // var fpsCounter:Text;
var loaded:Bool = false; var loaded:Bool = false;
override function init() { override function init() {
@ -41,9 +40,9 @@ class Main extends hxd.App {
// world.init(); // world.init();
// world.start(); // world.start();
fpsCounter = new Text(DefaultFont.get(), s2d); // fpsCounter = new Text(DefaultFont.get(), s2d);
fpsCounter.y = 40; // fpsCounter.y = 40;
fpsCounter.color = new Vector(1, 1, 1, 1); // fpsCounter.color = new Vector(1, 1, 1, 1);
loaded = true; loaded = true;
}); });
@ -54,7 +53,7 @@ class Main extends hxd.App {
if (loaded) { if (loaded) {
marbleGame.update(dt); marbleGame.update(dt);
// world.update(dt); // world.update(dt);
fpsCounter.text = 'FPS: ${this.engine.fps}'; // fpsCounter.text = 'FPS: ${this.engine.fps}';
} }
} }