GUI, Inventory & Menu: Difference between revisions
Jump to navigation
Jump to search
m
→Changing AGS's default speech/narrator dialog boxes to your own
Line 144: | Line 144: | ||
This is found in the AGS manual, albeit a bit hidden: | This is found in the AGS manual, albeit a bit hidden: | ||
<blockquote> | |||
'''Customized Text Windows'''<br><br> | |||
If you want to add a personal touch to the standard white text-boxes which display all the messages during the game, you can create a border using the GUI Editor.<br> | |||
Create a new GUI, and check the "'''text window'''" box for it. The element will be resized to about 1/4 of the screen, and you will see 8 pictures - one in each corner and one on each side. These are the border graphics. You change the graphic for a corner in the normal way.<br> | |||
In the game, the corner graphics will be placed in the respective corners of the text window, and the side graphics will be repeated along the edge of the window. To tell the game to use your custom text window style, go to the '''General Settings''' pane, and check the "'''Text windows use GUI'''" box. Then, enter the number of the GUI which you used.<br> | |||
You can also set a background picture for the text window. In the GUI editor, simply set a background picture for the GUI element. The graphic you specify will not be tiled or stretched in the game; however, it will be clipped to fit the window. You should use a graphic of at least about 250x80 pixels to make sure that it fills up the whole window.<br> | |||
To set the text colour in the window, simply set the '''Foreground Colour''' of the GUI and that will be used to print the message text in. | |||
</blockquote> | |||
[[Category:The AGS Beginners' FAQ]] | [[Category:The AGS Beginners' FAQ]] |