need advice with speech fonts

Started by Rocco, Tue 26/04/2011 13:36:10

Previous topic - Next topic

Rocco

im struggeling with my speech fonts, the result is way beyond from what i expected.

look at the example pic.



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.




Khris

Could you post the font you've tried? Then we can experiment with it.

TheRoger

Use black outline on different color than black font. You can change font color everywhere.

Rocco

Thx, yeah black text with text outline dont makes much sense.  ::)

So with another textcolor its much better.



i guess i can live with that.
btw is it possible to change the outline color?

Khris

#4
No. I'd never have guessed you didn't try colored text though. :=

Edit: And by "No" I mean "absolutely, yes".

Rocco

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

monkey0506

Actually, you absolutely can change the outline color.

Code: ags
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.

Rocco

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.

monkey0506

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.

SMF spam blocked by CleanTalk