Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Rocco on Tue 26/04/2011 13:36:10

Title: need advice with speech fonts
Post by: Rocco on Tue 26/04/2011 13:36:10
im struggeling with my speech fonts, the result is way beyond from what i expected.

look at the example pic.

(http://www.abload.de/img/schriftanw0.jpg)

i know the background is the worst you can imagine for speech text,
but all my imported fonts are not quite good readable, doesnt matter if i use automatic outline or not.



Title: Re: need advice with speech fonts
Post by: Khris on Tue 26/04/2011 13:38:28
Could you post the font you've tried? Then we can experiment with it.
Title: Re: need advice with speech fonts
Post by: TheRoger on Tue 26/04/2011 13:42:56
Use black outline on different color than black font. You can change font color everywhere.
Title: Re: need advice with speech fonts
Post by: Rocco on Tue 26/04/2011 13:52:31
Thx, yeah black text with text outline dont makes much sense.  ::)

So with another textcolor its much better.

(http://www.abload.de/img/schrift15uy3.jpg)

i guess i can live with that.
btw is it possible to change the outline color?
Title: Re: need advice with speech fonts
Post by: Khris on Tue 26/04/2011 14:04:47
No. I'd never have guessed you didn't try colored text though. :=

Edit: And by "No" I mean "absolutely, yes".
Title: Re: need advice with speech fonts
Post by: Rocco on Tue 26/04/2011 14:13:45
well the deadline for Mags is coming close, the blood pressure is high,
so there is no time for such trivial things like playing around with text colors.  ;D
Title: Re: need advice with speech fonts
Post by: monkey0506 on Tue 26/04/2011 21:49:53
Actually, you absolutely can change the outline color.

function game_start()
{
  game.text_shadow_color = 12; // change outline color to red
}


Thanks for this information go to Ben304, who uses this in every one of his games, and told me about it.
Title: Re: need advice with speech fonts
Post by: Rocco on Tue 26/04/2011 21:54:55
oh this is quite cool, thx for the info.
The help File should be updated.
There are several unknown code issues which would be useful to know sometimes.
Title: Re: need advice with speech fonts
Post by: monkey0506 on Tue 26/04/2011 22:20:16
It's not technically undocumented, it's just not referenced anywhere other than the Game variables ("game. variables") page.

QuoteColor used for speech text shadow (default 16).

That page particularly could do with an update to further elaborate on some of the properties, give examples of usage and such. Part of the problem is simply that a lot of these properties are overlooked because they aren't referenced elsewhere.