Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: actaria on Wed 10/08/2022 14:25:50

Title: (Solved) Problem with "text window GUI"
Post by: actaria on Wed 10/08/2022 14:25:50
Hello,

I am still learning AGS and i wanted to customize "display message" using a text window GUI that i will create.

Unfortunately it seems that i am having a problem when create a new text window GUI this is what i get:

(https://zupimages.net/up/22/32/jcsn.jpg)

Nothing is clickable i can't do nothing.

I created a lots of normal GUI and it this is the first time i am trying Text Window GUI.

I have no idea what's wrong maybe i deleted something that was needed for it to work properly (the little arrows ?)

I tried creating a new game and same thing.

I hope someone will be able to help me to fix the problem.

Big thanks in advance

UPDATE:
I found some little red square but i only got the left and middle one none on the right side I only got 4

In General Settings --> Text Output --> Custom Test window GUI i put the number of the text GUI

and i get this message:

(https://zupimages.net/up/22/32/btaq.jpg)

Thanks again if you can help

Title: Re: Problem with "text window GUI"
Post by: Khris on Wed 10/08/2022 15:00:26
It looks like the middle 2 and 3 right GUI edges are misplaced; they are all positioned in the left half. You can select them via the dropdown at the top of the properties window though.
As for the second error, double-check you've entered the correct number.
Title: Re: Problem with "text window GUI"
Post by: actaria on Wed 10/08/2022 15:21:11
"for the second error, double-check you've entered the correct number."

Thanks a lot Khris one problem solved already I am so stupid...

I am working on the other one now  :)

Thanks again i will update soon
Title: Re: Problem with "text window GUI"
Post by: actaria on Wed 10/08/2022 15:31:17
Damn i didn't even know about that dropdown at the top of the properties window.

You are right they are all there but not at the correct position no idea why.

As you can see i have some in the middle:

(https://zupimages.net/up/22/32/i0oa.jpg)

I have to put them all at the right places with the coordinates right ?

I don't know what is their original positions but i will try to find how it's supposed to look

Thanks again for your precious help

Title: Re: Problem with "text window GUI"
Post by: Crimson Wizard on Wed 10/08/2022 15:37:57
Quote from: actaria on Wed 10/08/2022 15:31:17
I don't know what is their original positions but i will try to find how it's supposed to look

In TextWindow you set 8 "edge" graphics and 1 BackgroundGraphic on GUI (or background colors). When in game the edge graphic will be copied around the edge like tiles, making seamless borders.

With TextWindow you may completely ignore how it looks in the editor, because it never is drawn like when in game. When in game, all these corners will be arranged automatically when the window is displayed. The window's size will also be resized automatically, depending on the active text.

Title: Re: Problem with "text window GUI"
Post by: actaria on Wed 10/08/2022 15:43:26
O yes i understand so it can fit the lengh of the text.

Very nice explanation so i think i only deleted the little arrows and that's why i only got the little red squares.

Plus the fact that i didn't know about the dropdown at the top of the properties window that is what gets me wrong and lost.

Thanks again both of you, you guys are really great.