Skip to content

Mouth movement when dialogue is typing. #2109

Answered by CakeVR
TunaNoot asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, yes, this can be done via custom portrait scenes: https://docs.dialogic.pro/custom-portraits.html

I use text_finished, about_to_show_text, and continued_revealing_text.

My portraits start talking when about_to_show fires and finishes talking when text_finished is emitted.
I use a mouth layer that occurs above my base sprite layer, the mouth sprite is an animation sheet and I use Godot's Sprite2D for this.

Last but not least, you can use the _unhighlight and _highlight base methods on the DialogicPortrait to identify which character is speaking and prevent others from animating their mouth.

Let me know if this helps!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Jowan-Spooner
Comment options

@TunaNoot
Comment options

@Jowan-Spooner
Comment options

Answer selected by Jowan-Spooner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants