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

Player speed dependant on FPS #1

Open
olls opened this issue Feb 19, 2018 · 2 comments
Open

Player speed dependant on FPS #1

olls opened this issue Feb 19, 2018 · 2 comments

Comments

@olls
Copy link
Member

olls commented Feb 19, 2018

The player moves much faster at 30 FPS than at 120 FPS.

This might be due to us not handling acceleration correctly; I'm not sure we are mixing speed and acceleration terms correctly

@geraintwhite
Copy link
Member

Does it still happen? I don't notice any difference between 30 and 120.

@olls
Copy link
Member Author

olls commented Feb 26, 2018

Definitely. It takes ~9 seconds to travel 20 blocks at 30 fps, and ~17 seconds to travel the same at 120 FPS.

I suspect its something to do with the way we are calculating last_frame_total.

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

2 participants