Unreadable Custom Textbox text

Started by Jet Kobayashi Zala, Thu 24/06/2004 07:23:12

Previous topic - Next topic

Jet Kobayashi Zala

I seem to have come across a problem.  I made a custom textbox GUI and the text is displayed on a white background.  I've set the options in the General Settings to use the text box.  Everything okay so far.  Now, the problem I come across is that, with the foreground color set to 15 (black) so that regular text (Font 0) can be read, it also seems to override the "Talking Colour" setting for the Characters when using DisplaySpeech() and DisplayThought() (I imagine for all text).  This ends up printing black text with the black outline making it close to unreadble.  Is there any way to fix this without having to manually change the textbox foreground color each time?  Sorry if this is a repeat, I didn't come across it in the search.

Scorpiorus

The problem is the same as describe at the very end of the following thread http://www.agsforums.com/yabb/index.php?topic=14770.0
Yep, custom textbox foreground colour overrides a text overlay colour. And, unfortunately, you can't change a GUI foreground colour with text scripting. CJ said that he will see about fixing it.

Jet Kobayashi Zala

Ah, so it is. Sorry 'bout repeating, then. :/

Scorpiorus

Heh, I didn't mean to sound like I was complaining about that, besides, the problem is rather similar to that than "the same" one is I said before, since although all text messages are displayed just as text overlays I'm not sure about fixing of original problem will solve this one as well. So I put a link from the other thread to inform CJ about character speeching. ;)

Jet Kobayashi Zala

Haha, no I knew you weren't.  But still I did sort of repeat an already stated problem.  Ah well. As for fixing it, I would guess it would be a matter of having it check the character color before overlaying the text (though I know nothing of AGS' code, so I can't say).  Heck, might make it its own option to have a special Textbox GUI override character color settings.  Could be handy.

Scorpiorus

Sounds like a good idea to me - thus we could also control it at run-time, with SetGameOption.

SMF spam blocked by CleanTalk