Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: lavender on Sat 05/09/2015 10:21:17

Title: Semi transparent black box behind sierra-style speech
Post by: lavender on Sat 05/09/2015 10:21:17
Hi all. In the last few days I've run different searches in the forums trying to come up with a solution for this. It's been asked before (kinda), and some solutions come close, but I haven't quite been able to manage it. So here is the question:

My game uses the sierra-style-with-portrait speech (with or without background, whichever is best to achieve what I'm after). I dislike the opaque background behind the text, so I would like it to be about 50% transparent. Much like this screenshot from Technobabylon:

(http://www.wadjeteyegames.com/wp-content/uploads/TB-trouble-280x180.png)

How would you go about it?

Thanks!
Title: Re: Semi transparent black box behind sierra-style speech
Post by: AnasAbdin on Sat 05/09/2015 10:26:54
The easy way: import a 50% transparent background image :-D
Title: Re: Semi transparent black box behind sierra-style speech
Post by: lavender on Sat 05/09/2015 16:33:15
It didn't work at the beginning because the game was 16-bit color. I had to make the game 32-bit true color then it worked (although I had to change a few sprites).

Thanks a lot AnasAbdin!!
Title: Re: Semi transparent black box behind sierra-style speech
Post by: eri0o on Sat 11/03/2017 20:53:50
Hey, I am looking exactly on this, how did you managed to create a speech box?
Title: Re: Semi transparent black box behind sierra-style speech
Post by: Khris on Sun 12/03/2017 16:57:53
Try using a custom text-window: http://www.adventuregamestudio.co.uk/manual/ags14.htm#TextWin
Title: Re: Semi transparent black box behind sierra-style speech
Post by: eri0o on Sun 19/03/2017 18:12:05
Thanks, it almost worked! My borders are transparent (using a single pixel png with alpha), but selecting the same sprite for background doesn't make the background transparent.