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

Fix clock speed #2

Open
dpren opened this issue Mar 19, 2024 · 0 comments
Open

Fix clock speed #2

dpren opened this issue Mar 19, 2024 · 0 comments

Comments

@dpren
Copy link
Owner

dpren commented Mar 19, 2024

The current game clock speed is recklessly based on requestAnimationFrame alone.

Results in the game speed going ludicrously fast on modern hardware.

Fixing it to an absolute rate will solve this + allow for proper multiplayer server logic.

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

1 participant