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

Camera frame dependancy #259

Open
Pistonnoob opened this issue Feb 7, 2017 · 3 comments
Open

Camera frame dependancy #259

Pistonnoob opened this issue Feb 7, 2017 · 3 comments

Comments

@Pistonnoob
Copy link
Collaborator

The camera moves faster the lower the framerate is.

@Pistonnoob Pistonnoob added the bug label Feb 7, 2017
@Pistonnoob Pistonnoob added this to the v0.2.1 - Design milestone Feb 7, 2017
@AceMice
Copy link
Collaborator

AceMice commented Feb 13, 2017

Cannot move the camera at all with 1k FPS.

@Pistonnoob
Copy link
Collaborator Author

The issue seems to be derived from resetting the mouse position to the middle of the screen every frame. When doing this I think it sets values such as 2.8 = 0 but we only read the 2 from the value. Meaning we lose part of the value at high framerates.

@Pistonnoob
Copy link
Collaborator Author

This issue was somewhat fixed along with the activation of V-sync as the framerate is locked much lower than when the issue becomes a visible disturbance.

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

No branches or pull requests

2 participants