Speech Bubble Animations & Positioning
Posted: Thu Jan 21, 2021 6:14 am
Hi,
I'm looking to implement speech bubbles for barks as one of the finishing touches on the conversation systems that I've been building with Dialogue System.
I looked through some old threads and there seems to be a lot of interest on dynamic tails, etc.
I'm just looking to try to set the position of the speech bubble relative to the speaker depending on the length of the sentence and the direction the speaker is facing.
The white box in the picture above is the Rect Transform of the bubble. I change its local Position to always have it in front of the speaker's face and change the panel image to one with a left or right tail depending on the direction. However, while this works for short sentences longer ones extend the panel out beyond the transform's position and past the speaker's face as evident in the picture.
I've tried fiddling around with the pivot and anchor points, the text entry position (the left/middle/right lines) but haven't had any luck. Do you have any idea if/how I can fix this?
Also, is there a way to play the text like a standard DS type writer effect?
I'm looking to implement speech bubbles for barks as one of the finishing touches on the conversation systems that I've been building with Dialogue System.
I looked through some old threads and there seems to be a lot of interest on dynamic tails, etc.
I'm just looking to try to set the position of the speech bubble relative to the speaker depending on the length of the sentence and the direction the speaker is facing.
The white box in the picture above is the Rect Transform of the bubble. I change its local Position to always have it in front of the speaker's face and change the panel image to one with a left or right tail depending on the direction. However, while this works for short sentences longer ones extend the panel out beyond the transform's position and past the speaker's face as evident in the picture.
I've tried fiddling around with the pivot and anchor points, the text entry position (the left/middle/right lines) but haven't had any luck. Do you have any idea if/how I can fix this?
Also, is there a way to play the text like a standard DS type writer effect?