Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: RyanIsntAlive on Thu 01/04/2021 00:33:52

Title: Text Menu border issue
Post by: RyanIsntAlive on Thu 01/04/2021 00:33:52
I really have no clue why this is happening but it happens on every textwindowGUI I create.
This is what it looks like in the gui creation
(https://i.imgur.com/Fa31wqz.png)

If you think that's bad, this is it in-game.
(https://i.imgur.com/0bFzzfH.png)

I've looked over the sprite, text window, everywhere that interact sprite appears but I have no clue what's happened!
Any help?
Title: Re: Text Menu border issue
Post by: Slasher on Thu 01/04/2021 04:06:51
Mmm, change the text gui padding properties, that may help..
Title: Re: Text Menu border issue
Post by: Crimson Wizard on Thu 01/04/2021 09:09:01
RyanIsntAlive, the TextWindow is a special GUI that has border sprites assigned for all 4 corners and 4 borders. When in game these border sprites are tiled to cover whole border.
It has some sprite number by default, which maybe correspond to your "interact" icon.

You may change these sprites by selecting corner/border elements on GUI (they are made as pseudo-buttons) and editing their properties.
If it's difficult to select them by clicking on GUI itself (as they may be smaller than the sprite), use the list of objects on top of the property grid.
Title: Re: Text Menu border issue
Post by: RyanIsntAlive on Thu 01/04/2021 12:19:16
Thanks Crimson, I didn't even know they were clickable, but I've fixed it now, thank you.