Understanding new render script and camera projection

It helped me also. I didn’t see any flicker/jitter for a while now with it set to 60. Even though the monitor is described as 165Hz - when I set it to 165, the issue is visible and the sprite looks “duplicated” because flickering happens all the time. 60 - it works flawlessly. 0 - sometimes jittering happens.

I wish to understand it why something like this is happening, because I will be using it in the tutorial and I want to explain it to the viewers :sweat_smile:

I see three behaviors:

  1. :rage: First is constant flickering (a “doubled” sprite) I explained in the first post above - somehow connected to the speed of the moving sprite (the faster it moves, the more visible is distance between two sprites)
  2. :cry: Second is “sometimes” jittering - happens from time to time and looks like a “one frame lag”
  3. :smiley: Third is what I expect to see - smooth movement.

Here are my tests with numbers inside corresponding to the above behaviors (so a higher number is better) in terms of set Vsync, Defold version and set Update Frequency:

Frequency 1.6.1 - Vsync On 1.6.1 - Vsync Off 1.6.2 - Vsync On 1.6.2 - Vsync Off
0 1. :rage: 2. :cry: 1. :rage: 2. :cry:
60 3. :smiley: 3. :smiley: 3. :smiley: 3. :smiley:
165 1. :rage: 1. :rage: 1. :rage: 1. :rage:

So you see, it is not regarding Defold version (nor render script) but the Vsync and Update Frequency settings.