Skip to content

Commit

Permalink
bruh remove fps counter
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomityGuy committed Jul 19, 2021
1 parent b21d97b commit 2b6b3b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Binary file modified marblegame.hl
Binary file not shown.
11 changes: 5 additions & 6 deletions src/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import fs.ManifestBuilder;
class Main extends hxd.App {
var marbleGame:MarbleGame;

var fpsCounter:Text;

// var fpsCounter:Text;
var loaded:Bool = false;

override function init() {
Expand All @@ -41,9 +40,9 @@ class Main extends hxd.App {
// world.init();
// world.start();

fpsCounter = new Text(DefaultFont.get(), s2d);
fpsCounter.y = 40;
fpsCounter.color = new Vector(1, 1, 1, 1);
// fpsCounter = new Text(DefaultFont.get(), s2d);
// fpsCounter.y = 40;
// fpsCounter.color = new Vector(1, 1, 1, 1);

loaded = true;
});
Expand All @@ -54,7 +53,7 @@ class Main extends hxd.App {
if (loaded) {
marbleGame.update(dt);
// world.update(dt);
fpsCounter.text = 'FPS: ${this.engine.fps}';
// fpsCounter.text = 'FPS: ${this.engine.fps}';
}
}

Expand Down

0 comments on commit 2b6b3b0

Please sign in to comment.