Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Matti on Sat 14/12/2019 00:08:58

Title: [SOLVED] Speech text position
Post by: Matti on Sat 14/12/2019 00:08:58
I realized that if a character's y-value is rather low (maybe 1/3 or 1/2 of the screen), the speech text is written lower than usual. Usually if the text doesn't exceed 3 lines it's shown above the character, but sometimes the lines are written all over the character. So it seems that the speech text has a boundary in screen height and cannot be displayed at the top of the screen. Is this correct? Is there a way to change that?
Title: [SOLVED] Re: Speech text position
Post by: Matti on Sun 15/12/2019 14:18:05
What I meant is this:

(http://ags.pics/wpx4.png)

vs

(http://ags.pics/wIWu.png)

I solved the issue using another font and a different lines spacing. The font's height was quite high.

Still, there's some space left at the top of the screen. I guess that's because of the default GUI bar in AGS.
Title: Re: [SOLVED] Speech text position
Post by: Cassiebsg on Sun 15/12/2019 16:58:04
Well, I'm sure that is coded into the template. By the wait icon I'm assuming you are using the Sierra template, and thus the top can't have text since that's where you have the top GUI.
Title: Re: [SOLVED] Speech text position
Post by: Crimson Wizard on Sun 15/12/2019 17:45:04
Quote from: Cassiebsg on Sun 15/12/2019 16:58:04
Well, I'm sure that is coded into the template. By the wait icon I'm assuming you are using the Sierra template, and thus the top can't have text since that's where you have the top GUI.

Not the template, the speech style is hardcoded inside the engine. It's a LucasArts-style speech behavior.
If you want a different one, then I'm afraid you'll have to script your own.
Title: Re: [SOLVED] Speech text position
Post by: Cassiebsg on Sun 15/12/2019 18:25:10
Oh, okay, never noticed a problem with it. Maybe it's due to me avoiding long sentences...  (laugh)