Lower Transparency on the Character Not Talking

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
cjtheegamedev
Posts: 4
Joined: Tue Sep 12, 2023 9:08 pm

Lower Transparency on the Character Not Talking

Post by cjtheegamedev »

Hi Folks! I was wondering if there is a setting to make the portrait on the character not talking more transparent than it already is and can we make the actual portrait frame more transparent?
Screenshot.png
Screenshot.png (204.01 KiB) Viewed 1192 times
Here the character on the left is talking and I would want the one on the right to be transparent. And I'd like the same effect but vice versa when the character on the right is talking.
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: Lower Transparency on the Character Not Talking

Post by Tony Li »

Hi,

Take a look at the Focus dialogue UI prefab for an example. It darkens the non-speaking portrait, but you can make it control transparency instead by simply setting it up to change the Image's Color > alpha value instead of the RGB values.
cjtheegamedev
Posts: 4
Joined: Tue Sep 12, 2023 9:08 pm

Re: Lower Transparency on the Character Not Talking

Post by cjtheegamedev »

Im sorry Im not sure where to go to access this.
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: Lower Transparency on the Character Not Talking

Post by Tony Li »

Hi,

Sorry, I didn't want to overload you with information in case you were already familiar with the UI. This is the Focus Template Standard Dialogue UI:

focus.png
focus.png (457.17 KiB) Viewed 965 times

I misremembered. A different UI (VN template) changes the color to darken actors who aren't speaking. The Focus Template Standard Dialogue UI adjusts the portrait's transparency, so it may be exactly what you're looking for. The screenshot above shows the "Show" animation. The Show and Hide animations fade the portrait completely in and out. The subtitle panel also has Focus and Unfocus animations, which fade the portrait image between fully opaque and partially transparent.
Post Reply