Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: lucasa on Fri 04/04/2008 11:52:21

Title: How to show the text speechs with a white background
Post by: lucasa on Fri 04/04/2008 11:52:21
I'm trying to use the Sierra Style speech dialog but i don't get to show the text over a white background.

Can someone help me with this? Thank you all.
Title: Re: How to show the text speechs with a white background
Post by: Ishmael on Fri 04/04/2008 14:47:33
It uses the custom text box if you use it to With Background, so if that's not white I'm not sure how to work around it other than changing the custom text box GUI each time a speech event occurs and then changing back. But I might've missed something, been a while since I've really worked with that stuff.
Title: Re: How to show the text speechs with a white background
Post by: Khris on Fri 04/04/2008 18:47:13
What happens instead? More info? A screenshot...?
Title: Re: How to show the text speechs with a white background
Post by: lucasa on Thu 10/04/2008 11:02:46

The problem I have is that my game uses photos like backgrounds. So, the text of the dialogs sometimes is impossible to read because the background color is very similar.

Then I tried to use the Sierra style with background, and it doesn't work.

I have just tried to change to the four Speech Style and nothing changes. It always looks the same.

I think that maybe is because the fonts I have, but I don't know how to change it... I have the three default, and I added 6 more but I don't know hoy to select them.

Thanks
Title: Re: How to show the text speechs with a white background
Post by: miguel on Thu 10/04/2008 11:15:57
try using this:
Game.SpeechFont = //the font number you want to use//
Title: Re: How to show the text speechs with a white background
Post by: lucasa on Thu 10/04/2008 11:57:24
Thank you! That works! I Can change the font...

I've tried to change in script the speech stule but it doesn't work..

     SetSpeechStyle(eSpeechSierraWithBackground);

: ???
Title: Re: How to show the text speechs with a white background
Post by: Dualnames on Mon 14/04/2008 10:22:39
you can actually adjust it through the general settings. I'm sure it works but that certain speech styles has some problems and certain things about it don't work.
Title: Re: How to show the text speechs with a white background
Post by: SSH on Mon 14/04/2008 10:37:02
Turn on font outlines. That puts an outline of a different colour around your fonts and so makes it visible on any background. This is what they do in subtitles in movies and TV..
Title: Re: How to show the text speechs with a white background
Post by: lucasa on Wed 21/05/2008 17:01:01
well... i found the answer to my question.

Is neccesary to create a speech view and asign it to the player, then you will see the box when he talk.