Skip to content
New issue

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

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

Already on GitHub? # to your account

Game lags on Mozilla Firefox heavily #7

Open
SneakBug8 opened this issue Oct 10, 2020 · 1 comment
Open

Game lags on Mozilla Firefox heavily #7

SneakBug8 opened this issue Oct 10, 2020 · 1 comment

Comments

@SneakBug8
Copy link

I've opened an example server with firefox at first but the game seemed to be literally unplayable due to heavy lags on graphics (flawed camera movement animation, lags when redrawing other players). But that seems not to be the case of Chromium-based engines for reasons unknown.

@arthurb123
Copy link
Owner

I mainly test WebClash with chrome, but for me it seems to work "fine" on FireFox. For now I have disabled vertical sync by default which does not seem to work on FireFox as expected. Besides this I tried to address the flawed camera movement animation and this has been improved upon slightly, but in my opinion it is not perfect yet.

The changes have been made in f5b433d, but have not been pushed to the live example server. If you want to test if these changes add any improvements, feel free to clone the repository and start a local server.

Finally I also want to state that the rendering framework that WebClash uses right now will certainly be replaced in later stages of development, but for now it is satisfactory for prototyping and the likes. So any issues that arise right now due to rendering should be addressed by this conversion, when it happens.

Thank you for reporting this issue!

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

No branches or pull requests

2 participants