Dialogue boxes over character's heads

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
moetan14
Posts: 11
Joined: Mon Nov 25, 2019 11:18 pm

Dialogue boxes over character's heads

Post by moetan14 »

Hi everyone, I hope I can get some help here.

I'm doing a 3d retro game, had some issues tryna make my own dialogue system work and bought this one assuming it would solve my very specific predicament.

Turns out it does! except not in my very specific case. What I want is to display dialogues in boxes over characters' heads, like in Final Fantasy 8.

Image

Thing is, I looked into this very forum and elsewhere and the solution is always the same: Use bark UI by dragging the prefab inside the desired object. The thing is that this makes the text bubble an actual object inside the scene instead of a UI item, making the text impossible to read due to low resolution. I also tested by dragging from the assets folder to the custom subtitle field and the same happens.

Image

Image

What I want is the dialogue box displaying over characters' heads using coordinates in a UI canvas (Like in Final Fantasy 8), but I don't know where to start. I'm in the same place where I was with my own dialogue system. Any help would be appreciated.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue boxes over character's heads

Post by Tony Li »

Hi,

Here's an example:

ScreenSpaceBubbleExample_2019-11-26.unitypackage

It uses a really short script named UIFollowObject. Each character is represented by a cube. The cube has a Dialogue Actor component that points to a subtitle panel in a screen space canvas.

BTW, if you do want to use world space, you can usually increase the dimensions of the world space canvas and then scale it down. This will give you clear text, too.
Post Reply