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

seconds_elapsed_remainder disregarded #10

Open
mattamatic opened this issue Feb 14, 2022 · 0 comments
Open

seconds_elapsed_remainder disregarded #10

mattamatic opened this issue Feb 14, 2022 · 0 comments

Comments

@mattamatic
Copy link

Hey there - was playing with your project and noticed that in the main timer you overwrite seconds_elapsed_remainder each time _physics_process gets called, so fractions of a second are potentially getting lost every cycle. Change to "seconds_elapsed_remainder += delta * IN_GAME_SECONDS_PER_REAL_TIME_SECONDS" fixes this.

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