netplayjs icon indicating copy to clipboard operation
netplayjs copied to clipboard

Dissable network debug info?

Open zeronobody0 opened this issue 1 year ago • 2 comments

I'm trying to make a game using this library and it seems like there is an always-on debug info box. Is there any way to disable it?

zeronobody0 avatar Sep 09 '23 02:09 zeronobody0

i'd like an option for this too. otherwise i have to do this:

canvas + div {
  display: none !important;
}

hchiam avatar May 22 '24 07:05 hchiam

i'd like an option for this too. otherwise i have to do this:

canvas + div {
  display: none !important;
}

Alternatively:

class SimpleGame extends netplayjs.Game {
    // ...
}
const game = new netplayjs.LockstepWrapper(SimpleGame);
game.stats.remove();
game.start();

hchiam avatar May 22 '24 21:05 hchiam