Open dawidkomorowski opened 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.
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:
SemiFixedUpdate(GameTime deltaTime)
not to confuse the behavior of different updates methods (Update: once per frame, SemiFixedUpdate: at least once per frame, FixedUpdate: zero or more per frame)Definition of Done