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

Lag issues #59

Open
44100hertz opened this issue Jun 8, 2023 · 3 comments
Open

Lag issues #59

44100hertz opened this issue Jun 8, 2023 · 3 comments

Comments

@44100hertz
Copy link
Collaborator

  1. Lag occurs during explosions on web, on slower PCs at least.
  2. We need to know whether the lag is visual, CPU, or both, and optimize accordingly.
  3. Lag can break the game physics. We should set a minimum frame rate of 30, below which game logic is expected to fail -- so the game will run slower past a certain point rather than breaking.
@44100hertz 44100hertz added this to the 0.1 milestone Jun 8, 2023
@44100hertz
Copy link
Collaborator Author

44100hertz commented Jun 9, 2023

  • Minimal fix: minimum frame rate of 30
  • Maximal fix: deep profiling and optimizing

@44100hertz 44100hertz modified the milestones: 0.1.0, 0.1.1, 0.1.1 - BedRock Jun 9, 2023
@44100hertz
Copy link
Collaborator Author

These issues are only apparently present on web targets and on ancient computers. I am going to forget about it for now.

@44100hertz
Copy link
Collaborator Author

I'm going to port the physics to use box2d

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

No branches or pull requests

1 participant