Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Fix screen tearing #111

Open
Srykah opened this issue Sep 5, 2019 · 2 comments
Open

Fix screen tearing #111

Srykah opened this issue Sep 5, 2019 · 2 comments
Assignees
Labels
bug When the issue is about a bug
Milestone

Comments

@Srykah
Copy link
Collaborator

Srykah commented Sep 5, 2019

I have felt quite a large amount of screen tearing when I played the game, especially when moving up or down in the world map. Screen tearing is usually removed by enbling VSync, but as I saw it in the code, a fixed frame frequency of 30 fps is used for rendering as well as for computing game objects' speeds. I think you should dissociate the game update logic and the rendering, so to let users choose if they want to play with VSync on or with maximum FPS.

@milkyroute milkyroute added the enhancement When the issue is proposing an enhancement label Sep 5, 2019
@milkyroute milkyroute added this to the For the 0.17 milestone Sep 5, 2019
@milkyroute milkyroute self-assigned this Sep 5, 2019
@milkyroute
Copy link
Member

I agree with you, this system is a mistake I've done quite a long time ago. I should change it as you say, but I always delay it. So I think I will do it for the 0.17, but I promise nothing. Except if somebody want to do it before.

@Srykah
Copy link
Collaborator Author

Srykah commented Sep 22, 2019

I can do it as soon as I am over cleaning up the rest of the code ^^

@milkyroute milkyroute added bug When the issue is about a bug and removed enhancement When the issue is proposing an enhancement read labels Sep 22, 2019
@milkyroute milkyroute added this to To do in Code improvement Nov 27, 2019
@Srykah Srykah moved this from To do to Backlog in Code improvement Mar 18, 2020
@milkyroute milkyroute moved this from Backlog (planned for later) to To do (for next release) in Code improvement Mar 26, 2020
@milkyroute milkyroute pinned this issue May 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug When the issue is about a bug
Projects
Code improvement
  
To do (for next release)
Development

No branches or pull requests

2 participants