Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sun 24/09/2006 12:11:14

Title: Changing the text box
Post by: on Sun 24/09/2006 12:11:14
Hi all,

I have a question about changing the ugly white text box with the black border around it. I made a new GUI, checked Text Window, changed the background color, and tested my game, but it doesnt show up :( Does anyone know what I need to do??
Title: Re: Changing the text box
Post by: Ashen on Sun 24/09/2006 12:12:59
Have you changed the 'Text windows use GUI:' setting on the 'General Settings' window?

EDIT: Manual Entry (http://www.adventuregamestudio.co.uk/manual/TextWin.htm) which explains it all.
Title: Re: Changing the text box
Post by: on Sun 24/09/2006 12:21:21
Thanks, that did the trick :)

But now I get all these blue cups around my gui :P
Title: Re: Changing the text box
Post by: Ashen on Sun 24/09/2006 12:25:54
Was that a serious question? (It was the  ':P' that confused me ...)

To get rid of them, you'll have to import sprites for the corners and edges of the text Window GUI. If you don't want graphics there - you're happy with just a single coloured pixel border, you just don't want black and white - import a wholely trnasparent graphics (it only needs to be small, 1x1 should do), and set that for all the corner/border graphics. Note that the outline colour and te text colour will be the same.

If that doesn't work (un-tested), you'll have to import the graphics after all, even if they're only single lines (1x1 squares of colour won't do, I'm afraid - except for the corner, obviously).
Title: Re: Changing the text box
Post by: on Sun 24/09/2006 12:29:44
Yes, it was :P Thanks a lot for your help!