Misshapen Bubbles

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
jmgech
Posts: 1
Joined: Sat Sep 16, 2023 4:59 am

Misshapen Bubbles

Post by jmgech »

Hi, I've started asking an initial question on the discord, but it might be more appropriate here, sorry...

Update: removed the img tags from post, they didn't seem to work 😅

Initially, I had issues with a pixellated tail to the default speech bubble:

https://postimg.cc/YLqTxP6m

Tony suggested I checked the defaults and slices, which I did, with same result.

I though I'd go ahead and create a new one, based on same dimensions, and with a duplicated Bubble object, I replaced in the prefab.

The new bubble looks like the following:
https://postimg.cc/MvBmFD9c

And I spliced it like:
https://postimg.cc/ykCZkzTd

Resulting in:
https://postimg.cc/s17BFNRR

Do you know where I'm going wrong? I tried checking out the provided demos, it may (probably) be me misusing the sprites in Unity (still new on that side), but thanks for any feedback!

J
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Misshapen Bubbles

Post by Tony Li »

Hi!

If we number the slices like this:

Code: Select all

123
456
789
Then slice 8 (which contains the tail) will not be stretched vertically, but it will be stretched horizontally. This will cause some horizontal distortion.

In this case, it will look better if you make the bubble and the tail into separate images. You can download an example bubble subtitle panel from the free Feel + Text Animator + Dialogue System demo scene on the Asset Store. Even if you don't have Feel or Text Animator, you can still import the bubble subtitle panel to see how it's put together and then either adapt it for your own use or create a new one set up the same way.
Post Reply