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

Update Based On Timestamp/Frametime Rather Than Thread.sleep() #11

Open
iamniklas opened this issue Jan 22, 2022 · 0 comments
Open

Update Based On Timestamp/Frametime Rather Than Thread.sleep() #11

iamniklas opened this issue Jan 22, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request implementation

Comments

@iamniklas
Copy link
Owner

  • The sleep method from the Thread class has a bit of a delay which makes it difficult to synchronize actions across multiple devices
  • This is why the update/render call should be made after a certain frametime has passed since the last timestamp has been captured
@iamniklas iamniklas added this to the 0.0.12 Time-synched Update milestone Jan 22, 2022
@iamniklas iamniklas added implementation enhancement New feature or request labels Jan 30, 2022
@iamniklas iamniklas self-assigned this Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request implementation
Projects
None yet
Development

No branches or pull requests

1 participant