Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dissable network debug info? #83

Open
zeronobody0 opened this issue Sep 9, 2023 · 2 comments
Open

Dissable network debug info? #83

zeronobody0 opened this issue Sep 9, 2023 · 2 comments

Comments

@zeronobody0
Copy link

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?

@hchiam
Copy link

hchiam commented May 22, 2024

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

canvas + div {
  display: none !important;
}

@hchiam
Copy link

hchiam commented May 22, 2024

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();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants