Await until a tween is finished before starting the dialogue #2323
-
I'm trying to animate a dialogue layer with a Tween (the width of a I'm using Godot v4.2.2-stable and the latest commit of Dialogic. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
That's my PR, it adds a new Timeline Event that allows to construct a Tween. Feel free to give it a try. You can create a method on an Autoload and await inside it. Once you use the Call Timeline Event, Dialogic will pause the timeline until the method returns. |
Beta Was this translation helpful? Give feedback.
-
You can insert animations for showing and hiding the textbox (see the default textbox layers animation script). However it might be good to add an additional dialog_begin and dialog_end animation. For now you probably can just set |
Beta Was this translation helpful? Give feedback.
You can insert animations for showing and hiding the textbox (see the default textbox layers animation script). However it might be good to add an additional dialog_begin and dialog_end animation.
For now you probably can just set
Dialogic.paused
to true in _ready of one of your layers and then animate before setting Dialogic.paused to false again.