Using The IDE Editor + GDScript Code - Easiest Method To Make Fade To Black/Fade From Black Scene Transitions?

Godot Version

v4.6.2.stable.official [71f334935] - Linux

Question

Hi,

We have two scenes in the IDE editor.
What would be the easiest method to make fade to black/fade from black scene transition?
Let us know, thanks!

SS

NOTE: Game window is 640x360 and we also have a 640x360 black background sprite.

You could use an AnimationPlayer.

If changing from one scene to another using get_tree().change_scene_to_file() then you may have to make your fade to black animation a Global/Autoload, or add as a child of get_tree().root to use it temporarily, or use two AnimationPlayers with one fading to black, and the other fading from black once the scene loads.

I’ll play around with that, thank you