2 frames animation

Godot Version

4.2.1.stable

Question

Hello!
I was wondering what is the best way to create a fade effect from two sprites (slowly changing from frame 1 to frame 2)? just like using modulate property on colorectangle but for sprites. I am struggling to find a tutorial on this.

Thanks for your help! :slight_smile:

GIF to add more context:

ezgif.com-crop

that basically just having the “light glow” sprite to modulate from Color(1,1,1,0) to Color.WHITE
can be done using Tween

Alternatively, you can put one sprite on top of the other, and animate the modulate property of the sprite on top to get the effect you want.

1 Like

Thanks for both answers, I am kinda lazy so I don’t want to edit every sprites I’d like to modulate so I’ll go for using two sprites and animating them by modulate the opacity of the glowing sprite.