Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: H.Randt on Sun 10/02/2013 18:13:29

Title: Text buttom without carry return/new line? [Solved]
Post by: H.Randt on Sun 10/02/2013 18:13:29
I was doing a dialog-GUI and I found a stupid problem: I cannot write "carry-returns" or "newlines" on the text box.

On credits page, I used "overlay" function and with "[" symbol I could write a newline. But with the GUI-Text Box it doesn't work and automatic carry-returns neither (the text go out widht box).

I search about it on the "Dynamic Help" but I didn't found anything :/

A very clumsy "solution" come to my mind but I think there should be other solutions.

(http://4.bp.blogspot.com/-tkAz-8JFqV8/URgch4h4u_I/AAAAAAAADrs/XWjn9BIaRKc/s640/2013-02-10_230844.png)
Title: Re: Text buttom without carry return/new line?
Post by: Khris on Sun 10/02/2013 22:09:08
Textboxes are meant to give the player the ability to enter something during the game, like a password or telephone number, or dialog topic.
Why would they enter text spanning multiple lines on a dialog-GUI?
If that's really what you want to do: AGS doesn't have multi-line input fields. You'd have to code it yourself.

In case you are looking for a way to display text spanning multiple lines: GUI labels wrap text.
Title: Re: Text buttom without carry return/new line?
Post by: H.Randt on Sun 10/02/2013 22:23:05
Oh, true! OTL
I knew problem was so dumb ^^u
Now, with "gui label" text works perfectly, thanks!
I don't know why I was using gui text box all time...

(http://3.bp.blogspot.com/-_cr6CXwmrhw/URgc_E3ECDI/AAAAAAAADr0/rKqH231G64A/s640/2013-02-10_231234.png)