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

Remove use of event-loop timers for game logic #583

Open
NotAFile opened this issue Apr 12, 2020 · 0 comments
Open

Remove use of event-loop timers for game logic #583

NotAFile opened this issue Apr 12, 2020 · 0 comments
Labels
refactoring This issue is related to piqueserver's code refactoring

Comments

@NotAFile
Copy link
Member

Many places in the code use callLater and similar constructs for game logic. This is not good because it convolutes the game logic and especially with #575, clock time is not guaranteed to match physics time. Updates should instead be passed to these places explicitly every tick.

@NotAFile NotAFile added the refactoring This issue is related to piqueserver's code refactoring label Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring This issue is related to piqueserver's code refactoring
Projects
None yet
Development

No branches or pull requests

1 participant