dawidkomorowski / geisha

Game Engine written in C#.
https://dawidkomorowski.github.io/geisha/
MIT License
8 stars 1 forks source link

Using fixed time step updates makes visual stuttering of moving objects. #168

Open dawidkomorowski opened 4 years ago

dawidkomorowski commented 4 years ago

When handling movement of objects in fixed time step updates there is observable visual stuttering. Reason for that is variable number of fixed time steps per frame - from zero to many. There are couple of options how to approach the issue:

Definition of Done

dawidkomorowski commented 4 years ago

Notice: Sound playback may have some impact on this. In TestGame it sometimes feels like starting playback of new sounds has an impact on the scale of the problem. Maybe starting a sound playback is costly and takes quite a lot of time until it is moved to audio thread.