• Godot Help
  • Animated sprites blinking/flickering artefact

Hello everyone,

I see something strange with the animated sprite (2D sprite) since i change the display stretch mode from viewport to 2D: my animated sprite quickly flickering or blinking to artefacts. This is random but i think it's only appears when the animation restart to the frame 0.

What should i check to solve that ?

Update:

pixel snap on, from project settings -> rendering -> quality ? Yes, it's on.

Another informations in case of: the buildings and vehicles are put in a YSort node and the scale of the annimated sprite size scale's node are below to 1.

  • SnapCracklins replied to this.
  • The problem is solved: i use the version 3.2.3 and i tried the version 3.5.1, the issue doesn't appears.

    I will upgrade to version 3.5.1, then.

    Is it possible my sprite sheet's resolution are too high ? What's the limits allowed ?

    For visual quality purpose, i made sprite sheets of 2048 x 2048, so 512 x 512 for each frames. This is too high ?

    Maybe this video will help more:

    Look after 1:00.

    TwistedMind is your gpu pixel snap on? You usually want that on when working with anything tile based in Godot.

    Hello @SnapCracklins,

    From project settings -> rendering -> quality ? Yes, it's on.

    Another informations in case of: the buildings and vehicles are put in a YSort node and the scale of the annimated sprite size scale's node are below to 1.

    I have find something new and interresting:
    Actually, my set up for the display is 3840 x 2160 and the test display is 1024 x 768.

    • If i resize the window to my screen (1920 x 1080)... glitches and flickering;
    • If i setup directly the display as 1920 x 1080 and let the test diplay to 0 x 0.... glitches and flickering;

    At this step, look the second video below. Curiously, when i build a factory, the problem occur...

    • When i let my actual display (3840 x 2160) and test display (1024 x 768), without rezising the window.... no glitches and flickering !!!

    Display stretch to 2D and expand mode for the aspect

    The problem is solved: i use the version 3.2.3 and i tried the version 3.5.1, the issue doesn't appears.

    I will upgrade to version 3.5.1, then.