How to gradually delete a node

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By FelipeRattu

I think this is pretty complex but i’d like to make a transition where a line goes from right to left on screen and as it goes the node goes away with it and a new node behind shows up.

heres an video example of it:

in this example they don’t use a line but the principle in the same

idk if this is possible :S

:bust_in_silhouette: Reply From: Asthmar

Maybe you could use an animation player to make the line go across and then the sprite disappear with opacity. Once the animation is finished queue free and make the other node appear at that position.

Thanks for your answer ^^

I acctually did a transition shader applied to a texture, when a scene is done godot takes a print of the screen and shows it in front of everything, then the other scene loads behind the print and the print goes away gradually with the transition revealing and unpausing the new scene.

FelipeRattu | 2020-02-20 10:02